OpenRouter Prompt Theft: Attackers Read Prompts Inside Three AI Providers for Months
Dragos found attackers reading prompts inside at least three AI inference providers for months, and zero data retention did not stop it. OpenRouter has cut the providers loose.

OpenRouter prompt theft ran for months before anyone noticed
Dragos, an industrial cybersecurity company, published research on November 19 showing that attackers had been reading prompts inside at least three AI inference providers for months. The earliest breach dates to mid-July. None of the three providers knew until Dragos told them. The finding lands hard because it hits the exact promise that was supposed to make hosted AI safe for sensitive work: zero data retention.
The method was patient and clever. Between July and November, Dragos sent about two million prompts to widely used AI services, each carrying unique canary links and credentials. When those planted secrets showed up in use elsewhere, the team knew someone had read the prompt. The canaries proved that attackers had access inside at least three inference providers, and that the access had been running for months, not days. OpenRouter, the gateway that routes customer requests across third-party providers, said on November 22 that it had removed three providers and 125 endpoints from zero data retention eligibility, and notified all potentially affected customers.
The OpenRouter prompt theft matters because it breaks a mental model a lot of teams rely on. Zero data retention sounds like a guarantee that your prompts vanish. In practice it is a policy about what the provider stores on purpose, and it says nothing about what an attacker inside the provider can read while the prompt is being processed. A prompt has to exist in memory to be answered. If the infrastructure around it is compromised, the retention policy is irrelevant.
This was not an isolated incident
The Dragos finding sits inside a miserable month for AI infrastructure security. Railway disclosed that AI provider keys customers had stored on its platform were stolen in an October breach and used to run up an estimated $740,000 in unauthorized charges. Fireworks AI confirmed a wider breach affecting customer datasets, model weights, and Notion AI chats. An attacker exploited a remote code execution flaw in SGLang, an open-source inference engine, and ran code on one of NEAR AI's inference servers, stealing data from 18 agents and about 100 users. Chainalysis confirmed an intrusion into internal tools that exposed customer identity data.
The pattern is consistent: the AI supply chain has become a target precisely because it concentrates valuable data. Prompts contain source code, business plans, medical questions, legal documents, and credentials people paste without thinking. Inference providers sit on top of all of it, and many of them are young companies that grew fast on demand, with security programs that have not caught up. The October breach wave already showed the same dynamic across the wider industry, and November made it specific to AI.
There is also a structural problem. The inference market is fragmented, with dozens of providers competing on price and speed, and gateways like OpenRouter routing traffic to whichever provider is cheapest or fastest at a given moment. That means your prompt can end up on infrastructure you never evaluated, run by a company you never heard of, under a retention policy you never read. The gateway model is convenient and cheap, and it quietly hands your data to strangers.
What to do about it
First, treat prompts like the sensitive data they are. Stop pasting credentials, API keys, and secrets into AI chats and agent prompts, full stop. If a workflow needs a secret, pass it through a vault or an environment variable, never through a prompt. Our guide on checking if your data was leaked is a good starting point if you suspect exposure, and the 3-2-1 backup rule still applies to everything else.
Second, know where your prompts go. If you use a gateway, check which providers it routes to and whether you can pin a provider list or exclude ones you have not vetted. If you use zero data retention as a control, understand what it does and does not cover, and ask the provider how prompts are handled in memory, who can access the inference fleet, and what logging exists around it. A retention policy is not an access control.
Third, rotate anything that might have been exposed. If your team used a third-party inference provider through a gateway in the last few months, rotate the API keys and credentials that appeared in those prompts. The Dragos research cannot tell you whether your prompts were among the ones read, and that uncertainty is itself the point. The canaries proved the access existed. They cannot prove your data was spared.
The uncomfortable truth is that hosted AI is now critical infrastructure with the security maturity of a startup scene. The Dragos research is a warning that the industry needs to grow up fast, because attackers already have.


