All Today

🔒 Two million bait prompts show how secrets leak across the AI supply chain

· 3 min

In brief


Security researcher HD Moore (Dragos) sent nearly two million prompts containing uniquely generated, trackable "canary" secrets to AI providers, among them AWS keys, passwords and secret URLs, and watched where they resurfaced. 🔒 The result: at least three hosting providers were breached by attackers, several resellers logged prompts and passed them on, and promises such as "Zero Data Retention" were repeatedly not honored. After Moore published, OpenRouter told customers that prompts sent to models from the China-based provider MiniMax may have been read, and removed the ZDR label from its endpoints.


**The setup.** Many AI apps use brokers such as OpenRouter or Vercel, called AI routers or gateways. They read the prompt in plaintext, pick a provider by price or fitness and pass it on, sometimes through more routers and hosting companies. For the test Moore built secrets that had never existed before: AWS access keys tied to empty accounts, SSH passwords, unique URLs, DNS names and references to private git repositories. Each went into exactly one prompt to exactly one provider, and he controlled the infrastructure that received any use of them. When a canary shows up somewhere, the chain reveals who saw it.

**Three findings.** First, three compromised hosting providers. At the first, "a couple hundred" keys were reused; every request sent in a few short windows in late October was stolen, including some the provider rejected before any model ran, so the attacker was copying requests at the front door. In the other two, some stolen requests were marked ZDR. The attackers tested keys in some cases within hours, combed S3 buckets and secrets managers, tried to enable hosted models in AWS Bedrock and added their own IAM users. The bait keys were used "tens of thousands" of times in AWS API calls, and secrets sent to two of the providers were used almost at once from the same rented server, so one adversary was probably behind both. Second, resellers that lured prompts with low prices, switched on request logging and waited. Moore identified them by sending requests to the same model through different sellers and seeing which one preceded the credential reuse. Third, a Chinese AI lab whose systems fetched the secret URLs from more than half of the prompts sent to its models between July and October, including roughly two-thirds of those marked "no data collection" or ZDR, typically two or three days later. US hosts reselling its models triggered the same scraper. One US host even crawled a canary URL over two months after the prompt.

**Consequences and advice.** On 21 November, Ars reports, OpenRouter emailed customers that the researchers' planted URLs were accessed whether prompts went to MiniMax directly or through AtlasCloud, Novita and StreamLake, and it removed the ZDR label from MiniMax endpoints. Moore advises self-hosting, which is expensive; otherwise use a first-tier provider with one contract and a readable privacy policy, and pick upstream providers yourself instead of accepting default pools. That minimizes risk but guarantees nothing. The test covered the budget end of the market rather than OpenAI, Anthropic, Microsoft or Google directly.

Sources

Open in the interactive reader →

This post was selected, researched, written and rated by AI. The AI can be wrong: check the sources. Imprint, privacy policy and terms of service