On October 21, Dragos planted a real AWS access key, tied to an empty and fully logged account, inside a prompt sent to an AI inference provider. Someone used it the next day. Three weeks later it was still in use. That key was one of roughly two million seeded prompts in a five-month experiment that HD Moore, Dragos’s chief research officer, published on November 19. His summary: “none of the three providers knew about their breach until we notified them.”
Three days later, OpenRouter announced that it had “off-boarded three providers,” “removed 125 endpoints from Zero Data Retention (ZDR) eligibility,” and “notified all potentially affected customers.” It did not name the three providers, and it said the findings “did not show any breach or unauthorized access of OpenRouter.”
That last sentence is accurate and beside the point. A router is a dispatcher. Your prompt’s privacy depends on where it gets dispatched, and the defaults on most accounts let price make that call. Moore put it plainly: “if you don’t make it, the lowest price will make it for you.” This guide covers the settings that take the decision back, what each one actually guarantees, and what to do if you got the notification email.
What the canaries caught
Dragos seeded each prompt with unique bait: hostnames, URLs, and credentials that would only ever be touched by someone who had read that specific prompt. Every hit traced back to the exact model, router, and privacy setting used. The findings, all from the Dragos post and based on Dragos’s own logs, which are not public:
- Three provider breaches. The largest “involved a couple hundred of our AWS keys.” In two of the three, some stolen requests carried a ZDR flag. Some keys came from requests the provider rejected before any model ran, so the copying happened at the front door. Attackers tested keys, sometimes within hours, then listed S3 buckets, searched Secrets Manager, tried to enable Bedrock models and created IAM users for persistence. One adversary added the ARTEX agent framework on November 1; its user agents
artex-agentandartex-judge-r121are worth adding to detections. (ARTEX is the same tool linked to the European Commission breach we covered on Saturday.) - Marketplace sellers who just logged everything. “The marketplace sellers that we caught only had to list a model at the lowest price, enable request logging, and wait.” The same model sent through a different seller was never touched, “which tells us that the leak follows the seller and not the marketplace as a whole.”
- Privacy flags ignored upstream. A Chinese AI lab fetched the secret URLs from more than half of the prompts sent to its models between July and October, including “roughly two-thirds of the requests marked as ‘no data collection’ or Zero Data Retention.”
The provider notices that followed show how varied the failure paths are. Together AI disclosed that an AI coding agent committed a credential to a public GitHub repo, which opened a private repo of prompt samples from June and July; five of the credentials an outsider then tested were Dragos canaries. Phala says an attacker took over an inference VM and tells customers to treat DeepSeek V4 Flash 0731 requests routed by OpenRouter between October 21 and November 8 as exposed. Novita says a routing configuration issue sent some MiniMax requests to MiniMax’s own API from May 28 to November 11. Atlas Cloud says canary links in its MiniMax traffic were opened after reaching MiniMax’s API, and that “we chose to take every Atlas Cloud model off OpenRouter.” None of these four has been confirmed as one of the three OpenRouter removed.
The five controls, and what each one actually promises
Every setting below comes from OpenRouter’s current provider selection docs and ZDR docs. Other gateways (LiteLLM, Portkey, the cloud model catalogs) have equivalents under different names; the questions are the same. The right column is the part most teams skip.
| Control | What it does | What it does not do |
|---|---|---|
provider.only plus allow_fallbacks: false |
Restricts the request to providers you named, with no silent backup | Tell you what that provider forwards downstream |
| Account-level allowed providers | Sets a ceiling every key inherits; per-request only narrows within it |
Protect requests sent through a different account or a teammate’s personal key |
data_collection: "deny" |
Excludes providers that “store user data non-transiently and may train on it” | Verify anything: OpenRouter calls it “our best knowledge” |
| ZDR enforcement (account, model group, guardrail, or request) | Limits routing to endpoints whose stated policy is zero retention | Cover tools and plugins: “Tool backends are not filtered by zdr“ |
| Generation lookup and router metadata | Records which provider actually served each call | Prevent anything; it is evidence after the fact |
1. Name your providers and turn off fallbacks
The order field alone is weaker than it looks. The docs say OpenRouter will try your list “and proceed to other providers if none are operational. If you don’t want to allow any other public providers, you should disable fallbacks as well.” For sensitive traffic, use an allowlist and no fallbacks:
{
"model": "<model slug>",
"provider": {
"only": ["<first-party provider slug>"],
"allow_fallbacks": false,
"data_collection": "deny",
"zdr": true
}
}
Then set the same allowlist at the account level in privacy settings. Per the docs, “your account-wide allowed providers act as the ceiling,” and if nothing satisfies both, the request fails with a 404. A failed request is the outcome you want when the trusted provider is down. Dragos’s second recommendation, going straight to a first-tier provider so there is one contract and one privacy policy, is the strictest form of this: if the model’s own lab serves it, route only there.
Running network operations at a large telecom, I watched least-cost routing do to voice traffic what it now does to prompts. Calls went to whichever transit carrier was cheapest that hour, and some of those carriers handed traffic to partners nobody had a contract with. The fix was never a better policy document. It was a short list of approved carriers written into the interconnect agreements, plus test calls placed through every route to see where they actually landed. Model routing needs the same two things: an allowlist, and probes.
2. Enforce ZDR at the account level, and know what it rests on
The request-level zdr flag “operates as an ‘OR’ with your account-wide and guardrail ZDR settings,” so it can switch ZDR on for one call but cannot switch off an account rule. That makes account or guardrail enforcement the safer default, since one forgotten flag in one script no longer leaks. Check which tier you are on: per the docs, “self-serve accounts allow Safety Retention and enterprise accounts use ZDR only” unless someone chose otherwise.
Be clear about what ZDR is. OpenRouter defines it as “no routine storage of prompts or responses after processing,” and says it “works with providers to understand each of their data policies.” That is a contractual promise, not a technical check, and Dragos found ZDR-flagged requests in two of three breaches. In its own words: “A privacy flag doesn’t help when the attacker is already inside.” OpenRouter now says it is “adapting the researchers’ testing approach” and “conducting technical verification of network paths,” which is the right direction and not yet a published control. If you buy direct from a lab instead, the same question applies to its terms; our look at Anthropic’s 30-day retention rule walks through what a first-party retention commitment does and does not cover.
3. Log who served every call
A chat completion response does not carry a top-level provider field. The generation endpoint does: provider_name plus provider_responses, which includes fallback attempts. Alternatively, send the header X-OpenRouter-Metadata: enabled to get router metadata with the candidate endpoints and the one selected. Store it alongside your own request ID. If you received an OpenRouter notice this week, that log is what tells you which requests fell inside Phala’s or Novita’s windows. Without it, you have to assume all of them did.
4. Plant your own canaries
This is the step that would have caught every incident above, and it costs nothing. Dragos started with free Thinkst Canarytokens: a fake AWS key, a DNS name, a URL nobody should ever visit. Put a unique one in the system prompt or retrieval context of each production pipeline, record which pipeline and route it belongs to, and treat any trigger as an incident. Dragos’s tokens from July are still firing in November, so the alert has to route to someone permanently, not to the engineer who set it up.
5. Stop sending what you would have to rotate
Most of the damage Dragos measured came from secrets that should never have been in a prompt: AWS keys, database passwords, private repo names. Secret filtering helps but, as the post notes, misses sensitive data that does not look like a key. The durable fix is scoping what your agents can read, because a privacy flag binds only the first hop. If a coding agent can see .env files, assume their contents will eventually travel. Our LLMjacking breakdown covers what a stolen cloud key turns into once it leaves.
If you got the notification email
- Pull your generation logs for the affected windows and identify which requests the named providers served.
- Rotate every credential, token, and URL that appeared in those prompts or their retrieved context, even ones that look harmless. Together’s leak was a credential nobody meant to expose.
- Check CloudTrail (or your provider’s equivalent) for the behavior Dragos saw: liveness checks, S3 listing, Secrets Manager reads, Bedrock enablement, new IAM users.
- Apply controls 1 through 4 before resuming traffic, then seed canaries so the next incident reaches you before a researcher does.
Where self-hosting fits
Dragos’s first recommendation is to self-host the most sensitive workloads, and it prices the options: a 512 GB Mac Studio from $22,299, DGX Spark at $6,950, a DGX Station near $105,000, and eight-GPU B300 servers from $570,000 (Dragos). That is a real option for a narrow slice of traffic, and our Revolut break-even analysis shows when the math works. For everything else, the realistic answer is a routed setup with a short provider list, enforced ZDR, per-call provider logs, and canaries. The router market already split into transparent and opaque products in September. This week showed why the transparent kind is only useful if you actually read what it reports.
One caveat on the source: Dragos sells security products, its underlying logs are not public, and its post contradicts itself on whether one case involved a Chinese or a U.S. provider. The provider notices, though, independently confirm the core finding. Prompts leaked from multiple providers, through different mechanisms, while privacy flags said they should not have.
