Agents gone wrong
An AI coding agent leaked a key, and an intruder took Together AI's prompts and tried 5 canaries
Together AI, an inference provider, kept samples of customer prompts in a private Hugging Face repository for testing. On November 21, 2026 it disclosed that an AI coding agent had committed the key to that repository into a public GitHub project, and an intruder used the key to download the prompts.
What the agent did
- While working on Together's public GitHub repository xorl, an AI coding agent committed a credential that opened the private Hugging Face repository with the prompt samples
- Automated scanning caught it and the commit was reverted, but in that window an intruder copied the key and downloaded samples from requests to MiniMax M3, GLM-5.2 and Kimi K2.6, mostly from June 24 and July 4, 8 and 14, 2026
- The intruder then searched the prompts for keys to other services and tested them; 5 of those keys were canaries planted by Dragos for a canary experiment that watches where leaked prompts end up
- Together says it has found no other prompt leak, is still reviewing what personal or customer data the samples held, and will contact affected customers directly
What it means for you
- Scan every commit and pull request for secrets before it reaches a public repository, and give coding agents scoped, short-lived keys so a pushed key is worth little.
- Do not paste live keys into prompts: anything in a prompt can be stored, copied and searched by someone else later. Turn on zero data retention where your provider offers it.
- Seed a fake key into the context your agents send, as Dragos suggests, and treat any use of it as an incident.
Why it matters
Reverting the commit did not undo the leak: once a key is public even briefly, someone can copy it. The stolen data was customer prompts, and the first thing the intruder did was mine them for more keys, so one agent commit turned into a hunt through other people's secrets.
Facts as reported by Together AI and Dragos; Together does not name the coding agent, say how long the key was exposed or how many prompts and customers were affected, and Dragos does not name the providers in its findings.
Source: Together AI Blog
Every number on this page comes from the source. Our charts redraw those numbers; videos are embedded from the publisher.
Comments
- Tried something like this? Share how it went for you.
More agents in action
Agents in actionSalesforce's Claude Code agents finished a 231 person-day API migration in 13 days
Agents gone wrongOld Cursor agent traces leaked via a vendor led to a backdoored Claude Code build for 5,000 users
Agents gone wrongClaude Code approvals left 31,088 secrets in files on public GitHub, 5,343 still working