Together AI told customers on November 21 that an AI coding agent handed a stranger the keys to its prompt archive. While the company was building its public GitHub repository, xorl, the agent committed a credential that unlocked a private Hugging Face repository. That repository held stored samples of customer prompts, and an unauthorized party downloaded them before Together AI’s automated scanning spotted the exposed credential and reverted the commit.
The samples came from requests to three models on Together AI’s serverless inference service: MiniMax M3, GLM-5.2, and Kimi K2.6. Customers had authorized the prompts for routine software testing, and they date mostly to four days in the summer: June 24, July 4, July 8, and July 14, 2026. Together AI says it is still reviewing the samples and will contact affected customers directly.
The credential was live long enough.
How the Together AI prompt leak happened
Nothing about the root cause is complicated, and that’s what makes it sting. Together AI collected the samples itself, for testing, and stored them in a private repository. Then a coding agent, given access to the company’s development workflow, committed the credential for that repository into a public repo. Scanners caught the exposure and reverted the commit, but the gap between the commit and the revert was all an intruder needed.
In its notice, signed by chief executive Vipul Ved Prakash, the company put it plainly: “an AI coding agent committed a credential that provided access to the private Hugging Face repository.” No misconfigured bucket, no phishing email, no zero-day. An automated assistant did what automated assistants do when nobody checks their work: it committed everything it could see.
What the intruder did with the prompts
Downloading the samples was only the first step. The intruder searched them for credentials to other services and tested whether those credentials worked. Five of the credentials it tested were canaries: fake secrets planted by security firm Dragos as tripwires. The canaries did their job, and that’s how the theft surfaced.
Whether the intruder found any real credentials is still under review. Together AI says it has no reason to believe the data went further and understands it has now been deleted. It is working with an external forensic firm and law enforcement, and says it has found no evidence of further leakage.
OpenRouter drops three providers
The disclosure landed in the middle of a wider cleanup. On November 22, OpenRouter said it had removed three inference providers from its platform and stripped 125 endpoints of their Zero Data Retention eligibility. It notified every customer it considers potentially affected. OpenRouter stressed that the findings showed no breach of its own systems. The problems sat with the providers running models behind the router.
One detail deserves care: nobody has confirmed that the three providers Dragos caught are the same three OpenRouter removed, since neither side has named its three. Three providers have posted public notices of their own: Phala, Together AI, and Novita.
Phala said an attacker took control of one of its inference servers and could view request data while it was being processed. The incident was contained on November 8. Requests to the DeepSeek V4 Flash 0731 model that reached Phala through the gateway between October 21 at midnight UTC and November 8 at 5:35 a.m. UTC should be treated as exposed, and every secret inside them rotated. Novita confirmed a different failure: a routing configuration issue sent some MiniMax requests to MiniMax’s official API instead of processing them on Novita’s own infrastructure. That window ran from May 28 to November 11, 2026.
The canary test that caught it all
All of this traces back to an experiment published November 19 by Dragos, the industrial cybersecurity firm. Chief research officer HD Moore and his team sent about two million prompts to widely used AI services between July and November 2026. Each prompt carried a secret that existed in exactly one place: a working AWS key, a password, a unique web link, or a reference to a private git repository. Any use of a secret could only mean someone had read the prompt that carried it.
Attackers were inside at least three hosting providers, copying requests as they arrived, and none of the three knew until Dragos told them. The earliest breach began in mid-July. In the largest case, a couple hundred planted AWS keys were stolen during a few short windows in late October. Every request sent during those windows was taken, including some the provider had rejected before a model ever ran. The thief tested keys within hours, listed S3 buckets, searched Secrets Manager and Parameter Store, and tried to create Bedrock API keys and add IAM users. The keys drove tens of thousands of AWS API calls.
Other findings needed no break-in at all. Sellers on an AI inference marketplace listed models at the lowest prices, switched on request logging, and collected what flowed through. A Chinese AI lab, which Dragos does not name, opened the secret links in more than half of the prompts sent to its models between July and October, including about two-thirds of the requests marked no data collection or Zero Data Retention. Moore summed up the lesson in one line: “A privacy flag doesn’t help when the attacker is already inside.”
What this means for anyone who sends prompts to AI
Start with the uncomfortable part. A prompt is not a sealed envelope. It is decrypted at every hop so a router can pick a model, and each hop can store it. A Zero Data Retention flag binds only the first hop, and it assumes every company after that hop keeps its word.
Moore’s advice is blunt: self-hosting is the only setup in which no third party reads a prompt, and going directly to a first-tier provider leaves one company, one contract, and one privacy policy to check. Router users should pick their upstream providers, verify that privacy settings actually change where requests go, and avoid reseller marketplaces.
Together AI listed four changes: scoped or short-lived credentials and keyless access, credential checks on all pull requests, zero data retention as the default for new accounts, and updated processes for AI coding agents. The last one names the actual failure. The credential did not leak because someone pasted a secret into a public repo by hand. It leaked because an agent did it, and nothing in the workflow stopped it.
If you ever pasted a live key, token, or password into a prompt, rotate it now. That applies whether you used Together AI, a router, or any third-party host. A secret in a prompt is a secret you have already shared.
Frequently asked questions
What happened in the Together AI prompt leak?
An AI coding agent committed a credential to Together AI’s public GitHub repository, xorl, while it was being developed. The credential opened a private Hugging Face repository holding stored samples of customer prompts from June and July 2026, and an unauthorized party downloaded them.
Were my prompts exposed in the Together AI leak?
Only prompt samples collected for routine software testing were exposed, mostly from requests to MiniMax M3, GLM-5.2, and Kimi K2.6 on June 24, July 4, July 8, and July 14, 2026. Together AI is still reviewing the contents and says it will contact affected customers directly.
Why did OpenRouter drop three providers?
OpenRouter acted on November 22, 2026, after Dragos’s canary research found prompt theft inside three AI hosting providers. It removed three providers from its platform, stripped 125 endpoints of Zero Data Retention eligibility, and notified potentially affected customers.
How can I keep my AI prompts private?
Never put real secrets in a prompt, enable zero data retention where it is offered, and send sensitive work directly to a first-tier provider or a model you host yourself. If you use a router, choose the upstream providers yourself instead of taking the defaults.
Sources: Together AI, The Hacker News, Ars Technica, Unite.AI
