Dragos Researcher HD Moore Finds AI Inference Routers Leaking Prompts and Ignoring Zero Data Retention Flags
Security researcher HD Moore's canary tests reveal that cheap AI inference routers leak prompt data and ignore privacy flags, prompting OpenRouter to remove affected providers.
Security researcher HD Moore, Chief Research Officer at the cybersecurity firm Dragos, published findings on November 19 revealing that prompts sent through AI routing services are being intercepted by attackers and third parties. His team deployed nearly two million canary requests—containing unique URLs or dummy AWS keys—to popular AI services between July and November. Any access to these canaries proved that someone in the processing chain had read the prompt contents.
The investigation focused on AI routers like OpenRouter and Vercel, which offer a single API endpoint and distribute queries to various hosting providers, often prioritizing the lowest price. The report notes that on some open marketplaces, sellers offer heavily discounted inference, sometimes using stolen credentials. When a seller wants to harvest customer data, they can list a popular model at the lowest price, route the traffic, pay the difference, and collect the prompt data from platform logs.
Moore's team identified active data theft at three different hosting providers. In the largest incident, hundreds of AWS keys were compromised. Attackers used an agentic pentesting framework called Artex to rapidly test the stolen keys, search S3 buckets, and attempt to create new IAM users. Some keys were harvested before the provider even processed the request for model inference.
A critical finding is that many of the leaked prompts were explicitly marked with "Zero Data Retention" (ZDR) flags, a setting customers use to demand that providers not store their inputs or outputs. According to the Dragos report, a Chinese AI laboratory accessed secret URLs from more than half of the prompts sent to its models between July and October, including roughly two-thirds of those carrying the ZDR flag. MiniMax subsequently acknowledged that an automated security system opened URLs from forwarded requests, including those with ZDR flags, but stated it has disabled the URL fetching and deleted the logged URLs.