Inference provider prompt leaks: what the Dragos canaries found
From July to November 2026, Dragos sent about two million prompts with unique canary credentials through AI routers, resellers and hosts. It found at least three breached providers, resellers logging prompts, and secrets fetched from requests marked Zero Data Retention. OpenRouter off-boarded three providers and removed 125 endpoints from ZDR eligibility.
Dragos spent five months putting fake credentials into AI prompts and watching where they turned up. They turned up a lot: the research found at least three inference providers whose request data was being stolen, reseller marketplaces logging customer prompts, and secrets fetched from requests that were flagged Zero Data Retention (ZDR). If your coding agents, CI jobs or RAG pipelines send source code, logs or .env contents to a model through a router or a smaller host, assume some of that has left the boundary you thought it had.
OpenRouter, which sat on some of the traced routes, published its response on 22 November: three providers off-boarded, 125 endpoints removed from ZDR eligibility, and affected customers notified.
What Dragos did
HD Moore's post, "Three breaches, endless leaks: Your AI supply chain needs canaries" (19 November 2026), describes the method:
- About two million prompts sent between July and November 2026, each carrying unique, trackable canary values: AWS keys, hostnames, URLs, private git repositories and SSH passwords.
- Listeners for DNS, web, git, SSH, databases and mail, so any use of a seeded value could be tied back to the exact request that carried it. The AWS keys pointed at empty, fully logged accounts.
- A "traceroute for AI inference" that mapped about 2,000 routes through routers, reseller marketplaces and first-party or hosting providers, to see which hops a prompt really passed through.
That last part matters. A request to one API can be forwarded to a reseller, and from there to someone else, without the caller knowing.
What it found
Breached providers. Data from at least three AI hosting providers was being stolen, with the earliest incident in mid-July. None of the providers knew until Dragos told them. In the largest case, a couple of hundred AWS keys from late-October requests were used for tens of thousands of AWS API calls: listing S3 buckets, searching Secrets Manager and Parameter Store, trying to enable Bedrock models and adding IAM users. Some keys came from requests that were rejected before a model ever ran, which points to theft at the provider's front door. One attacker, working in two providers at once, used an LLM-driven pentest framework called ARTEX, with user agents artex-agent and artex-judge-r121.
Resellers. Sellers on an inference marketplace could log requests and harvest prompts without exploiting anything. Leaked URLs from one seller were opened about a day and a half later, followed by login guessing. Someone tried SSH passwords taken from prompts against a root login. One router was quietly forwarding traffic to the marketplace and stopped once notified.
Privacy flags ignored. A Chinese AI lab's scraper fetched secret URLs from more than half of the prompts sent to its models, including about two-thirds of requests marked "no data collection" or ZDR, usually two or three days later. The same scraper appeared when the lab's models were called through US resellers. A seeded link sent with ZDR to a US provider was posted in a Feishu chat 24 days later. As the post puts it, a privacy flag "only binds the first hop", and it "doesn't help when the attacker is already inside."
What OpenRouter changed
OpenRouter says the findings did not involve any breach of OpenRouter itself. Its announcement lists:
- Three providers off-boarded after its own investigation.
- 125 endpoints removed from ZDR eligibility, covering providers the researchers flagged plus others removed as a precaution.
- Notifications to all potentially affected customers.
- Ongoing work: running the researchers' style of test continuously, verifying network paths to catch requests forwarded to third parties, and requiring assurances and validation before any removed endpoint gets ZDR back.
The page also links provider statements, including Together ("prompt leakage for requests in June and July of 2026"), a Phala preliminary incident report, and a Novita privacy notice about MiniMax requests. OpenRouter notes not every affected provider has posted publicly, and it does not name the three off-boarded providers.
What to do this week
1. Find out where your prompts actually go. List every place your code calls a model: IDE assistants, agent CLIs, CI review bots, internal chat tools, eval harnesses. For each, write down the provider and whether a router or reseller sits in between. Many teams will find a router configured once for a cheap model during a spike and never reviewed.
2. Enforce ZDR on the request, not just in a dashboard. On OpenRouter, the ZDR docs describe account-level toggles per model group, guardrail fields such as enforce_zdr_anthropic and enforce_zdr_other, and a per-request flag:
{
"model": "your-model",
"messages": [{ "role": "user", "content": "..." }],
"provider": { "zdr": true }
}The request flag can only tighten what the account and guardrail settings allow. It is worth setting in code, because the endpoint list it filters on has just changed. But read the Dragos results before treating ZDR as a guarantee: several leaks came from requests that carried the flag.
3. Stop putting live secrets in prompts. This is the fix that works whatever the provider does. Agents that read .env files, dump environment variables while debugging, or paste CI logs into a prompt are sending credentials to every hop on the route. Keep secrets out of the agent's context and have something outside the model add them to requests. In CodeBeast, for example, custom API integrations keep credentials server-side and swap {{SECRET}} placeholders in per request, so the agent never sees the value, and environment file values marked Secret are redacted before they reach a model.
4. Rotate anything that may have gone out. If you used Together in June or July 2026, received an OpenRouter notification, or routed traffic through marketplaces, rotate cloud keys, database passwords and tokens that could have appeared in prompts, and check CloudTrail (or your equivalent) for calls from unfamiliar IPs.
5. Seed your own canaries. Dragos's recommendation is cheap to follow: add a fake credential to the context your agents and pipelines already send, and treat any use of it as an incident. A free Thinkst Canarytoken AWS key in a system prompt or a fixture file is enough to start. You will not learn which hop leaked it, but you will learn that one did.
6. Turn on secret filtering where offered. Some providers scrub known credential formats from prompts. Dragos calls this helpful but "not a panacea", because plenty of sensitive data does not look like an API key.
7. Reconsider the cheap route for sensitive repositories. The post's ranking is blunt: self-hosting is the only option where nobody else reads your prompts; a first-tier provider gives you one contract and one privacy policy; routers need care; reseller marketplaces should be avoided. For local options, see our look at Inkling 2 Mini on a laptop.
Open questions
- Which providers? Dragos anonymised most of them and OpenRouter has not named the three it removed. Until they are named, you cannot fully scope exposure on your own.
- How long has this been going on? The study started in July. Leaks before then would not show up.
- Will ZDR come back with proof? OpenRouter says it will require "assurances and validation". What that validation looks like, and whether it will be published, is not yet stated.
Sources
- Dragos: Three breaches, endless leaks: Your AI supply chain needs canaries (19 November 2026)
- OpenRouter: Data Processing Incidents on Inference Providers (22 November 2026)
- OpenRouter documentation: Zero Data Retention
FAQ
Was OpenRouter itself breached?
OpenRouter says the research did not show any breach of, or unauthorised access to, OpenRouter. The breaches Dragos found were at downstream hosting providers and reseller marketplaces. OpenRouter has off-boarded three providers and removed 125 endpoints from ZDR eligibility in response.
Does Zero Data Retention protect my prompts?
Only partly. ZDR is a policy promise from the provider, and Dragos found secrets stolen from requests marked ZDR and fetched by a lab's scraper despite "no data collection" flags. It also only binds the first hop, so a provider that forwards your request can break it.
How do I check whether my keys leaked through an AI provider?
Look for an OpenRouter or provider notification first, then search your cloud audit logs for API calls from unexpected IPs using keys that could have appeared in prompts or agent logs. Rotate those keys regardless. For the future, put a canary credential in your agent context so any misuse alerts you.
What is a canary token in an AI prompt?
It is a fake credential or URL, unique to one prompt, that alerts you when anyone uses it. Because a legitimate model never needs to call it, any access means the prompt was read by someone or something outside the request. Thinkst Canarytokens offers free AWS key and URL tokens you can use this way.
Written by the CodeBeast Team with AI assistance. Spotted a mistake? Email support@codebeast.ai.