Rank #1 of 68·Security·21 Nov 2026·An unnamed AI coding agent used to develop Together AI's public xorl GitHub repository
An AI coding agent committed a secret key to a public repo, and someone used it to download Together AI's stored customer prompts
“The scanner caught the key. Somebody else caught it first.”
- Together AI kept customer prompt samples for software testing in a private Hugging Face repository
- The samples came mainly from requests on 24 June and 4, 8 and 14 July 2026 to MiniMax M3, GLM-5.2 and Kimi K2.6
- While working on Together's public GitHub repo xorl, an AI coding agent committed a credential for that private repository
- Automated scanning detected the key and the commit was reverted
- During the exposure window, an unauthorised party used the key to download the stored samples
- They searched the prompts for passwords and keys to other services and tested whether those worked
- Five of the credentials they tested were bait planted by security firm Dragos for its prompt-leak study
- On 22 November OpenRouter removed three providers, named as Together AI, Phala and Novita, and pulled 125 endpoints from its zero data retention list
An AI coding agent pasted one secret into a public repo. The safety scanner spotted it. Somebody else had spotted it first.
What happened
Together AI rents out open AI models by the request. For routine software testing it kept samples of real customer prompts in a private Hugging Face repository, mostly from June and July requests to three models. While building its public GitHub project xorl, an AI coding agent committed a credential that opened that private store. Automated scanning caught it and the commit was reverted.
The damage
Too late. During the exposure window, an outsider grabbed the key and downloaded the prompt samples. Then they went shopping: searching the prompts for passwords and API keys to other services, and testing whether they worked. Five of the keys they tried were bait planted by security firm Dragos. Together has not said how many customers or prompts were involved; its check for personal data is still running.
How it was caught, and what happened next
Together apologised, brought in forensic investigators and law enforcement, and says it found no other leak. It now uses short-lived keys, scans every pull request for secrets, keeps no data by default for new accounts and has tightened its rules for AI coding agents. OpenRouter dropped Together and two other providers.
Reverting a leaked key does not un-leak it. If an agent can see a secret, assume it can commit it, and rotate the moment it does.

