Together AI discloses prompt leak after an AI coding agent exposed a repo credential
An AI coding agent committed a credential to a public repository, and an unauthorized party downloaded stored customer prompts from Together AI’s serverless inference service. Five of the credentials the intruder tested belonged to a Dragos canary experiment.
- The disclosure: a Together AI post dated November 21, 2026 (updated November 22), signed by CEO and co-founder Vipul Ved Prakash.
- What was taken: stored prompt samples from requests to MiniMax M3, GLM-5.2 and Kimi K2.6, mainly on June 24, July 4, July 8 and July 14, 2026; collected for routine software testing with authorization; stored in a private Hugging Face repository.
- How it happened: while working on Together’s public GitHub repository xorl, an AI coding agent committed a credential that gave access to the private repository. Automated scanning detected it and the commit was reverted — but during the exposure window, an unauthorized party obtained the credential and downloaded the samples.
- What the intruder did: searched the samples for credentials to other services and tested whether they were valid. Five of the credentials tested were canary credentials tied to a Dragos security experiment.
- The response: an external forensic firm and law enforcement are engaged; no evidence of additional prompt leakage has been found so far; the review of the prompt contents is ongoing; zero data retention is now the default for new accounts.

Together AI says an unauthorized party downloaded stored samples of customer prompts from its serverless inference service — after an AI coding agent committed the credential that unlocked them to a public code repository. The company disclosed the incident on November 21, and confirmed that the intruder went on to hunt through the samples for credentials to other services. Five of the credentials it tested belonged to a security experiment built to catch exactly this kind of leak.
The disclosure is the second shoe to drop in a story that began two days earlier, when Dragos published the results of a five-month canary-token experiment that found customer prompts leaking from AI inference providers. Together’s post does not name Dragos’s report — but the five canary credentials are the thread that ties the two together.
How a coding agent opened the door#
As part of routine software testing, Together collected prompt samples — authorized for that use — and stored them in a private Hugging Face repository. The samples came from requests to three models on its serverless service: MiniMax M3, GLM-5.2 and Kimi K2.6, mainly on four dates in June and July 2026.
The opening came from inside the development workflow. While working on xorl, Together’s public GitHub repository, an AI coding agent committed a credential that gave access to the private repository. Together says its automated scanning detected the exposed credential and the commit was reverted. But the window between commit and revert was enough: during it, an unauthorized party obtained the credential and used it to download the stored prompt samples.
There is an irony here that Together does not dwell on. The credential was not leaked by a careless employee pasting a key into a chat, or by a misconfigured bucket. It was committed by the same class of tool the company’s customers use every day — an AI coding agent working on a public repo, doing exactly the kind of autonomous commit its users rely on. The failure was not the agent’s alone: the credential existed in a form an agent could commit, and no check stopped it before it reached the public repository.

What the intruder did with the samples#
Getting the samples was only the first step. According to Together, the party then searched them for credentials to other services and tested whether those credentials were valid. Five of the credentials it tested were canary credentials associated with a Dragos security experiment — planted secrets that exist for the sole purpose of revealing when prompt data escapes.
Together says its review has not identified evidence of additional prompt leakage beyond this incident, and that it has worked with an external forensic investigation firm and law enforcement. The review of the affected prompt contents is still going, to determine whether sensitive personal information or other customer data was exposed. The company says it will contact affected customers directly as needed — which means, for now, customers do not know whether their prompts were among the samples.
The Dragos connection#
Two days before Together’s disclosure, Dragos published the findings of an experiment that ran from July through November 2026. The security company sent roughly two million prompts containing unique canary tokens — secret URLs and credentials that had never been used anywhere — to widely used AI services, then watched where those secrets surfaced.
What it found was bleak. Dragos reported evidence that data from at least three AI providers was exposed, with seeded prompts used in attempts to access its controlled test systems and canary AWS accounts. It found inference marketplace resellers able to view and retain customer prompts using standard logging, with no exploit required. And it found providers apparently ignoring customer privacy settings: prompts sent to U.S.-based providers were transmitted to Chinese AI organizations, unique URLs were accessed months after a single inference request, and one seeded link ended up posted in a Feishu chat channel in China, then opened from three desktops and three phones in Beijing and Shanghai. Dragos noted that none of the three providers knew about their breach until it notified them.
Dragos did not name the providers in its report. Together’s disclosure does not say it is one of the three, either. But five Dragos canary credentials turning up in the hands of Together’s intruder is not a coincidence — it is the same experiment, the same tripwire, firing in the same incident. The two reports describe one event from opposite ends: Dragos watched its planted secrets get used; Together is now telling its customers whose prompts were in the blast radius.

What changes now#
Together lists four changes following the incident:
- Scoped or short-lived credentials, and keyless access where supported, to reduce the impact of any future credential exposure.
- Credential checks on all pull requests, catching secrets before they land rather than after.
- Zero data retention as the default for new accounts — previously an opt-in setting customers had to enable themselves.
- Updated development processes governing the use of AI coding agents.
For existing customers, the practical advice is unchanged and now carries more weight: if you handle sensitive prompt data, enable zero data retention in your account settings. The setting only helps if it is on — and this incident is a reminder that the samples Together stored came from requests made before it became the default.
What to watch#
Four things. First, the contents review: whether the samples held sensitive personal information or customer data, and which customers Together contacts. Second, whether the other providers in Dragos’s findings disclose their own incidents — three were compromised, and only one has now spoken publicly. Third, whether zero data retention becomes the default across the inference industry rather than an opt-in buried in settings, and whether providers start proving it rather than asserting it. And fourth, the coding-agent question: whether secret scanning moves to before the commit — a pre-commit hook that blocks a credential from ever reaching a public repo — instead of detection after the fact. The agent did what agents do. The gap was the guardrail that was supposed to catch it.
Sources: Together AI, “Security event: Prompt leakage for requests in June and July of 2026”; Dragos, “AI Supply Chain Security: What Canary Tokens Found”