An AI Coding Agent Leaked the Key: Together AI Says Its Agent Committed a Credential That Exposed Stored Prompts, as OpenRouter Drops Three Providers and Pulls 125 Endpoints From Zero Data Retention

Together AI, Phala and Novita have now explained how customer prompts leaked in the Dragos canary tests, with an AI coding agent's committed credential behind Together's breach, and OpenRouter has off-boarded three providers and removed 125 endpoints from Zero Data Retention.
Two days after researchers showed that bait secrets hidden in AI prompts were being stolen, the providers involved have started saying how it happened. In at least one case, an AI system caused the leak. Together AI says one of its AI coding agents committed a credential to a public GitHub repository. That credential opened a private Hugging Face repository of stored customer prompts, and an unauthorized party downloaded them, then went looking for working keys inside them.
On 22 November, OpenRouter, the AI model router, dropped three inference providers from its platform, took 125 endpoints off its Zero Data Retention (ZDR) list and notified every customer who may have been affected. Novita and Phala, two other providers named in OpenRouter's notice, have published their own explanations. Each one has a different cause.
What Is New Since the Canary Research
When the Dragos research came out on 19 November, it showed that about two million prompts carrying unique canary secrets had been sent to popular AI services between July and November 2026. Data from at least three providers was exposed. What it did not show was how each provider lost the data. The notices published since then fill in that gap:
- Together AI (21 November): a credential committed by an AI coding agent exposed stored prompt samples.
- Phala (preliminary report, 10 November): attackers got in through an internet-facing legacy service and management interfaces that did not authenticate callers.
- Novita (22 November): a routing misconfiguration sent MiniMax requests to MiniMax's own API for almost six months.
- OpenRouter (22 November): three providers removed, 125 endpoints stripped of ZDR eligibility, and all potentially affected customers notified.
Together AI: The Agent Committed the Key
Together AI says the incident involves a subset of prompts sent to its serverless inference service in June and July 2026. It kept samples of those prompts in a private Hugging Face repository for routine software testing. While the company was building its public GitHub project xorl, an AI coding agent committed a credential for that private repository.
Together AI's automated scanning caught the exposed secret and the commit was reverted. By then the credential had already been copied. The unauthorized party used it to download the stored samples, searched them for credentials to other services and tested whether those credentials worked. The company says five of the credentials tested were canaries from the Dragos experiment. That is how the theft became visible.
What we know about the affected data:
- Models: MiniMax M3, GLM-5.2 and Kimi K2.6.
- Request dates: mainly 24 June, 4 July, 8 July and 14 July 2026.
- Volume: not disclosed. Together AI also has not said when the credential was committed, when it was detected or how long it stayed public.
- Investigation: the company has worked with an external forensic firm and law enforcement. It says it has found no evidence of other prompt leakage, but it is still checking whether sensitive personal or customer data was exposed. It will contact affected customers directly "as needed."
Together AI lists four changes: scoped or short-lived credentials and keyless access where supported, credential checks on every pull request, ZDR as the default for new accounts, and updated development rules for AI coding agents. Existing accounts are not switched to ZDR automatically. The company tells customers who handle sensitive prompt data to turn it on in their account settings.
Phala: An Unhardened GPU Server
Phala's preliminary report covers requests to DeepSeek V4 Flash 0731 that OpenRouter routed to Phala between 04:00 Mauritius time on 21 October (00:00 UTC) and 09:35 Mauritius time on 8 November (05:35 UTC). Phala says attackers chained a legacy internet-facing service with management interfaces that "did not independently authenticate callers". The inference deployment ran on a new GPU server that did not yet have its full production security hardening.
Phala's timeline:
- 5 November, 12:15 to 21:55 Mauritius time (08:15 to 17:55 UTC): unauthorized activity detected, attacker-created confidential VMs stopped and attack paths blocked.
- 6 November, 09:02 Mauritius time (05:02 UTC): KMS root key rotation completed.
- 8 November, 08:12 Mauritius time (04:12 UTC): evidence received from the researcher and the compromised deployment taken offline. Containment was completed at 09:35 (05:35 UTC).
- 9 November: the most recent misuse of stolen data that Phala observed.
Phala says canary credentials were sent from 1 July to 7 November, but only those in requests from 21 and 22 October were later misused. A full root-cause analysis is still to come.
Novita: Requests Went Somewhere Else
Novita says a routing configuration issue caused "an API forwarding path intended for specific customers to apply more broadly". As a result, some MiniMax requests went to MiniMax's official API rather than to Novita's own infrastructure. This covers requests between 28 May and 11 November 2026, whether they were made directly or routed to Novita through OpenRouter. Novita has suspended the affected models and is following up with MiniMax about retained data and deletion. Nobody broke in here. Prompts simply went to an organisation users had not chosen.
OpenRouter's Response
OpenRouter says the findings show no breach of or unauthorized access to its own systems. It has not named the three off-boarded providers or listed the 125 endpoints. Some endpoints were removed because researchers flagged them, others as a precaution. They will only become ZDR-eligible again after "appropriate assurances and validation". The company is also adapting the researchers' canary testing into ongoing checks and verifying the network paths used to forward traffic to third parties. Its notice links incident statements from Atlas Cloud, Novita, Phala and Together. It adds that not every affected provider has made a public statement.
Who Is Affected
You may be affected if your application sent prompts during these windows:
- Together AI: serverless requests to MiniMax M3, GLM-5.2 or Kimi K2.6, especially on 24 June, 4 July, 8 July or 14 July.
- Phala via OpenRouter: DeepSeek V4 Flash 0731, from 21 October to 8 November.
- Novita: MiniMax models from 28 May to 11 November, directly or through OpenRouter.
The risk is highest for teams that put secrets in prompts: API keys in agent context, cloud credentials pasted into debugging chats, database connection strings or internal URLs. As the canary tests showed, whoever took the data searched it for exactly those things.
What To Do Now
- Rotate any secret that appeared in a prompt sent through these providers during the affected windows. Phala and Novita both give this advice. Assume those secrets were read.
- Review cloud audit logs (for example AWS CloudTrail) for API calls made with keys that ever appeared in model traffic.
- Turn on ZDR yourself. At Together AI it is now default only for new accounts. On a router, also check which endpoints actually serve your traffic.
- Keep secrets out of prompts. Have agents and tools fetch credentials from a vault at execution time instead of placing them in model context.
- Restrict your own coding agents: run secret scanning as a pre-commit hook, not only after a push. Give agents short-lived, narrowly scoped tokens. Keep long-lived credentials out of any workspace an agent can write to.
A basic local check before an agent's changes leave the machine:
# scan staged changes for secrets before they are committed
gitleaks protect --staged --redact -v
# or scan the full history of a repository an agent has worked in
trufflehog git file://. --only-verified
Why It Matters
This incident ties together two risks that are usually discussed separately. An AI coding agent leaked a credential in an ordinary commit. The data it exposed was customer prompts, which more and more often contain the secrets other AI agents need to do their work. Automated scanning caught the commit but could not undo the copy. A "zero data retention" label offered no protection either, because the data had already been stored for testing, forwarded to another API or held on an unhardened server.
For defenders, the takeaway is that a prompt is data you send to a supply chain you cannot see. Anything you would not paste into a public repository should not go into a prompt, and an AI agent that can commit code should get no more access than a new junior developer.
