Safety & Security

Together AI Discloses Prompt Leak Caused by AI Coding Agent

Together AI says an AI coding agent leaked a repository credential, letting an outside party download sampled customer prompts to MiniMax M3, GLM-5.2 and Kimi K2.6 models — and probe them for live secrets.

Together AI Discloses Prompt Leak After Coding Agent Exposed Credential
Together AI Discloses Prompt Leak After Coding Agent Exposed Credentiallawrence_monk / pixabay
By James Calloway5 min read

Why it matters

  • Together AI disclosed on November 21, 2026 that an unauthorized party downloaded stored customer prompt samples from a private Hugging Face repository.
  • The exposed credential came from an AI coding agent working on the public xorl GitHub repository; reverting the commit did not stop use during the exposure window.
  • Affected prompts were requests to MiniMax M3, GLM-5.2 and Kimi K2.6 models, primarily sampled on June 24, July 4, July 8 and July 14, 2026.
  • The intruder searched downloaded prompts for credentials and tested them; five tested credentials were Dragos canary credentials from a security experiment.
  • Zero data retention is now the default for new Together AI accounts.

Together AI disclosed on November 21, 2026 that an unauthorized party downloaded stored samples of customer prompts from its serverless inference service, after an AI coding agent exposed the credential that guarded them. The company confirmed the sequence in a public incident notice. The exposure dates to mid-2026, which means customers are learning about it months after the fact.

The stakes are straightforward. Prompts sent to hosted models routinely contain code, configuration fragments and secrets, and Together AI had retained sampled prompts for routine software testing. A credential slip inside an AI-assisted development workflow turned that retention practice into an attack surface. That combination — machine-written commits plus stored customer data — is exactly the failure mode security teams have warned about as coding agents spread across engineering organizations.

What exactly was exposed?

The affected prompts were requests to the MiniMax M3, GLM-5.2 and Kimi K2.6 models. Together AI sampled them primarily on four dates: June 24, 2026, July 4, 2026, July 8, 2026 and July 14, 2026. Customers had authorized the sampling for routine software testing, and the company stored the samples in a private Hugging Face repository.

While Together AI was developing its public xorl GitHub repository, the coding agent committed a credential granting access to that private Hugging Face repository. Automated scanning caught the exposure, and the company reverted the commit. The revert did not matter. During the exposure window — the interval between the commit and its reversion — an unauthorized party obtained the credential and used it to download the stored prompt samples.

The lesson is uncomfortable but plain: reverting a leaked secret does not un-leak it. Any credential that reaches a public commit must be treated as compromised for the entire window it was visible, not just after someone notices.

What did the intruder do with the prompts?

The download was not the end of the activity. According to Together AI's disclosure, the party searched the downloaded samples for credentials to other services and then tested whether those credentials were valid. Five of the tested credentials were canary credentials — deliberately planted fake secrets — associated with a Dragos security experiment.

That detail matters more than the leak itself. It shows the intruder was not merely harvesting prompt text but attempting to reuse secrets embedded in customer prompts against other systems. For any customer whose sampled prompts contained live API keys, tokens or passwords, the risk extends well beyond disclosure of the prompt text. Together AI's notice does not say how many credentials beyond the canaries were tested or whether any validated.

What has the investigation found so far?

Together AI engaged an external forensic investigation firm and law enforcement. The company stated three things: its review has not identified evidence of additional prompt leakage beyond this incident, it has no reason to believe the data was leaked further, and it understands the data has now been deleted.

Each of those claims carries a caveat. "No reason to believe" is not evidence of containment, and "understands the data has been deleted" rests on the intruder's cooperation or the investigators' inference rather than direct control. The review remains ongoing to determine whether sensitive personal information or other customer data was exposed in the samples. Together AI said it will contact affected customers directly as needed with findings relevant to them.

Customer impact, in other words, still depends on what was inside the prompts — and that determination is not finished. Until the content review concludes, neither Together AI nor its customers can fully size the damage.

What is Together AI changing?

The company's remediation plan targets both halves of the failure: the credential hygiene that enabled the leak and the retention policy that determined how much data was available to steal.

On the credential side, Together AI is adopting:

  • Scoped or short-lived credentials, which limit how long and how broadly a leaked key works
  • Keyless access where supported, removing long-lived secrets from the workflow entirely
  • Credential checks on all pull requests, so exposed secrets are flagged before merge
  • Updated development processes governing the use of AI coding agents

The company said the credential measures are designed to reduce the potential impact of an exposure, while the other changes add controls around pull requests and coding-agent development. Notably absent from the notice: any claim that these controls would have caught this specific leak earlier, or a timeline for when the pull-request checks became operational.

On the retention side, zero data retention — ZDR, meaning Together AI does not persist customer prompts after processing — is now the default setting for new accounts. Existing accounts are a different story. Together AI recommends that customers handling sensitive prompt data enable ZDR in their account settings, which implies the default change does not automatically cover accounts created before this incident. Customers who want the stronger posture must act themselves.

The company has posted [email protected] for questions about the incident or its potential impact on an organization.

Why this incident matters beyond Together AI

The case joins a growing pattern of security failures that are specific to AI-era workflows rather than recycled from conventional cloud breaches. An AI coding agent — software that writes and commits code with limited human review — placed a live credential into a public repository during ordinary development work. Automated tooling caught it, the company responded correctly, and the credential was still used. The defensive playbook of detect-and-revert is structurally too slow for secrets exposed in public.

At the same time, the incident shows what prompt retention costs when it goes wrong. Sampling customer prompts for testing is a legitimate engineering practice, but every stored sample is a copy of potentially sensitive customer input sitting behind whatever credentials protect it. Together AI's move to ZDR-by-default for new accounts acknowledges that trade-off explicitly.

The company has now documented controls for both credential safety in AI-assisted development and retention of customer prompts. Whether those controls hold will depend on the unfinished part of this incident: the content review that determines what the downloaded samples actually contained, and which customers will need to be notified as a result.

Source: unite.ai

Share this article:

More from James Calloway

James Calloway

Show full bio

News editor covering people, launches and day-to-day practice in artificial intelligence and machine learning at AI In Context.

878 articles

Related articles

  1. One Israeli Startup Sits Behind a String of Rogue AI Disclosures
  2. BeyondTrust Predicts First Autonomous AI Breach by 2027
  3. OpenAI Says Its Models Drained a Crypto Wallet and Hacked Two More Sites
  4. AI Security in 2027: Agent Permissions Will Define the Blast Radius
  5. Google Confirms Gemini Hacked Three Real Companies in May Test

« Previous articleNext article »