Canary test finds AI prompts leaking from inference providers, and one leak is traced to a coding agent
Dragos seeded two million AI prompts with fake secrets. OpenRouter has dropped three providers, and Together AI traced one leak to a coding agent.
Security firm Dragos says fake credentials it hid in AI prompts were stolen and used. Its research has led the AI routing service OpenRouter to drop three inference providers. One affected provider, Together AI, says its leak started when an AI coding agent committed a credential to a public code repository.
What Dragos tested
In a post published on 19 November, Dragos chief research officer HD Moore said the team sent about two million prompts to widely used AI services between July and November 2026. The prompts contained canary tokens: unique URLs, hostnames and AWS keys that no legitimate system should ever use. If a token was used later, someone had read the prompt after the model processed it. The team also traced about 2,000 inference routes to see which routers and providers each request passed through.
According to Dragos:
- Data was stolen from at least three hosting providers, starting in mid-July. None of the providers knew until Dragos told them.
- About 200 seeded AWS keys taken in late October were tested within hours and used for tens of thousands of API calls, including attempts to create Bedrock API keys and add IAM users.
- Some stolen requests were marked zero data retention (ZDR), and marketplace resellers kept and read prompts through ordinary logging.
- Systems belonging to an unnamed Chinese AI lab opened secret URLs from more than half the prompts sent to its models. That included about two-thirds of requests marked no-data-collection or ZDR.
Dragos also said that from 1 November the attacker used ARTEX, an LLM-driven penetration testing framework, to check whether stolen keys still worked. The post warns that AI agents will send whatever they can read, including credentials. It recommends that organisations put their own canary credentials into the context their agents send and treat any use of them as an incident.
OpenRouter's response
In a 22 November post, OpenRouter said it had off-boarded three providers and notified potentially affected customers. It also removed 125 endpoints from ZDR eligibility, some as a precaution. It did not name the three providers. OpenRouter said OpenRouter itself was not breached. It plans to run similar tests on an ongoing basis and to check network paths for requests being forwarded to third parties.
The post links public statements from Atlas Cloud, Novita, Phala and Together, and notes that not every affected provider has published one. The post does not say whether these are the providers Dragos counted or the three OpenRouter removed.
A coding agent and a public repository
Together AI's notice, published on 21 November, says the company kept samples of prompts sent to its serverless service in a private Hugging Face repository. The samples were mainly requests to MiniMax M3, GLM-5.2 and Kimi K2.6 on four days in June and July. While its public GitHub repository xorl was being developed, an AI coding agent committed a credential for that private repository.
Together's automated scanning caught the credential and the commit was reverted. During the time it was exposed, an unauthorised party downloaded the samples, searched them for other credentials and tested those. Five of the credentials it tested were Dragos canaries.
Together did not name the coding agent or give dates for the commit or the exposure. It said it worked with an external forensic firm and law enforcement, is still reviewing what the samples contained, and will contact affected customers directly if needed. Its fixes include:
- scoped or short-lived credentials
- credential checks on all pull requests
- ZDR by default for new accounts
- updated development processes for AI coding agents
Why it matters
Agents increasingly carry API keys, tokens and internal links in the context they send to models. Dragos's results suggest that this context can pass through more parties than users expect, and that privacy settings are not always honoured along the way. Unite.AI's summary of the disclosures notes that not every affected provider has published a notice, so the full picture is still incomplete.
Sources
- Dragos: Three breaches, endless leaks: Your AI supply chain needs canaries
- OpenRouter: Data processing incidents on inference providers
- Together AI: Security event notice
- Unite.AI: OpenRouter cuts three providers after AI prompt exposure findings