A security researcher planted nearly two million unique, trackable secrets inside prompts sent through AI routers such as OpenRouter and Vercel — then watched where they surfaced. HD Moore, chief research officer at security firm Dragos, published the findings Thursday, describing prompt theft, breached hosting providers and stolen credentials across the AI supply chain.
The experiment tested one blunt question: does data really stay private when a developer hires an AI router instead of going straight to Anthropic or OpenAI? The answer, according to the research, is often no.
What the AI router canary experiment found
Prompts are encrypted in transit, but they are decrypted at every hop. The router reads the plaintext to pick the cheapest or best-suited model, and prompts can pass from one router to another. Each player in that chain is likely to log the prompt and keep it as long as its policies allow.
Secrets sent to two of the hacked providers were reused almost immediately, from the same rented server — a strong sign the same adversary was behind both.
- Moore seeded AWS access keys tied to empty accounts, SSH passwords, and unique URLs, DNS names and private git repository references into prompts.
- Each secret went into exactly one prompt sent to a single provider, so any leak could be traced back to one link in the chain.
- Three separate hosting providers were breached. Attackers reused "a couple hundred" of the AWS keys, and every request sent during short windows in late October was stolen.
- Some stolen keys came from requests the provider rejected before a model ever ran — evidence the attacker was copying traffic at the provider's front door, not deeper in the inference stack.
- Stolen bait keys were used "tens of thousands" of times in AWS API calls. The attackers also searched S3 buckets, secrets managers and parameter stores, and added their own IAM users to keep access.


