OpenRouter prompt leaks: what 2 million canaries found
Dragos detected prompt and secret theft across AI inference providers. OpenRouter removed 3 firms and revoked ZDR eligibility from 125 endpoints.
- AUTHOR
- Karol Rapacz / CEO Breachroad · OSCP · PNPT
- PUBLISHED
- 23 November 2026
- READING TIME
- 21 min read
- TOPIC
- AI Security
From July through November 2026, Dragos sent approximately two million prompts containing unique canaries and controlled credentials. When those secrets were later used, researchers could trace how data moved through the AI inference supply chain. The results indicated compromise at three providers, unauthorised reseller access to prompts and cases in which stated privacy and Zero Data Retention policies were not effectively upheld.
OpenRouter said on 22 November that the research found no breach or unauthorised access of OpenRouter itself. It nevertheless off-boarded three providers, removed 125 endpoints from ZDR eligibility and notified potentially affected customers. The case shows that model selection is only part of a security decision. A prompt may pass through a gateway, router, reseller, GPU host and model endpoint.
How Dragos ran the experiment
Researchers generated per-request URLs and credentials for controlled accounts. No legitimate system should ever use them. A link access, sign-in attempt or API call therefore signalled that someone had seen the corresponding prompt.
This creates stronger evidence than a contractual statement alone. It connects:
- a request sent through a specific route and provider;
- the first time a canary was used;
- the network and tool making the attempt;
- subsequent actions against the test account;
- the difference between a retention policy and the actual data path.
Dragos did not seed real customer secrets. It used its own controlled credentials. The risk to genuine prompts follows from the fact that the tests travelled through the same systems as customer traffic.
Three central findings
1. Provider infrastructure was compromised
Dragos found evidence of data theft from three hosting companies. The earliest incident dated to mid-July, and the providers were not aware of compromise before the researchers notified them.
In the largest case, a few hundred controlled AWS keys sent during short windows in late October were stolen. Some came from requests rejected before a model ran, indicating that copying could occur at the service’s front door rather than deep inside the inference stack.
The attacker tested keys, listed S3 buckets, searched Secrets Manager and Parameter Store, attempted to enable Bedrock models, created Bedrock API keys and tried to add IAM users. The bait credentials generated tens of thousands of AWS API calls.
2. Intermediaries had access without exploiting anything
Not every problem required a vulnerability. Dragos found that some resellers in an inference marketplace could view and retain prompts through standard logging. The system may have operated as configured while customers lacked a clear picture of how many organisations handled their data.
This is an architecture and transparency problem. “Not used for training” does not answer who can read the log, where processing occurs, how long a copy exists, whether a subprocessor receives it or who can export it.
3. ZDR does not stop an active intruder
In two compromises, some stolen requests were marked Zero Data Retention. ZDR defines expected provider behaviour after processing; it does not encrypt the prompt from the service or stop an attacker already present in its infrastructure.
In one case, a unique link from a prompt appeared in an internal Feishu channel 24 days later and was opened from several devices. At least one copy therefore survived far beyond a single inference call.
OpenRouter’s response
OpenRouter distinguished its own layer from provider incidents. The company said the findings did not show a breach or unauthorised access of OpenRouter. Following its review, it:
- off-boarded three providers;
- removed 125 endpoints from ZDR eligibility, including precautionary removals;
- notified all potentially affected customers;
- began adapting the canary method for continuous testing;
- started technical verification of network paths and third-party forwarding;
- required assurances and validation before restoring ZDR status.
Not every provider has published a report. OpenRouter maintains a list of available notices. A missing public post does not prove a customer was unaffected; account-specific notification and route history are the relevant evidence.
Two examples, two failure classes
Phala disclosed compromise of a DeepSeek V4 Flash 0731 deployment. It advised treating request content routed through OpenRouter between 21 October 00:00 UTC and 8 November 05:35 UTC as exposed. An attacker chained a legacy Internet-facing service with management interfaces that trusted loopback access, took over an inference VM and could see in-flight data. Containment completed on 8 November.
Together AI reported a different chain. Prompt samples from MiniMax M3, GLM-5.2 and Kimi K2.6 requests were held in a private Hugging Face repository. An AI coding agent working on the public xorl repository committed a credential that granted access to it. Automated scanning found and reverted the commit, but an unauthorised party had already downloaded the samples and searched them for other credentials.
The first case is runtime-infrastructure compromise. The second combines retained samples, a development-chain secret and a coding agent. Both demonstrate that prompts are production data.
What an AI API customer should do
1. Establish the actual route
Record not only the model but also router, endpoint provider, region and retention policy. Preserve provider and route identifiers for each call in an audit log.
2. Review exposure windows
Compare request history with OpenRouter, Phala, Together and other provider notices. If a request traversed an affected route, determine what its prompt contained.
3. Rotate every secret present in prompts
Treat API keys, tokens, passwords, signed URLs, connection strings and configuration fragments as exposed. Rotation includes revoking the old secret and reviewing how it was used.
4. Hunt in destination systems
For AWS, inspect CloudTrail for unexpected ListBuckets, Secrets Manager and Parameter Store access, IAM changes, Bedrock activation and key creation. Apply equivalent hunting to GitHub, cloud, databases and SaaS services referenced by prompts.
5. Keep secrets out of context
An agent should receive a handle or a tool result, not a raw secret. Where the model must perform an operation, a tool broker should use a short-lived identity outside the prompt.
A safer model-access architecture
An enterprise programme should enforce controls before content leaves the organisation:
- data classification and prompt DLP;
- automatic redaction of keys, tokens, personal data and connection strings;
- allowlists for providers, models, regions and retention modes;
- no automatic fallback to an unapproved endpoint;
- separate routes for public, internal and regulated data;
- encrypted metadata logs without full prompt content;
- controlled canaries to detect unexpected use;
- a rapid provider-disable and credential-rotation procedure.
ZDR remains useful, but it is one contractual and operational control rather than a cryptographic confidentiality guarantee. Our prompt privacy and PII filtering guide covers the pre-model layer, while third-party risk management addresses provider oversight.
Using canaries safely
A canary should be unique, harmless and point to an isolated environment containing no genuine data. Never use a live production key as bait. A mature system records request ID, route, time and provider, then alerts on first use.
No alert does not prove every prompt is safe. Testing samples routes and time periods. A canary is a breach sensor, not a provider-compliance certificate.
Source facts versus Breachroad conclusions
Confirmed by Dragos: roughly two million test prompts, evidence of three compromises, use of controlled secrets, tens of thousands of AWS API attempts and problems with intermediary visibility and data-policy enforcement.
Confirmed by OpenRouter: no evidence of compromise at OpenRouter itself, three providers removed, 125 endpoints losing ZDR eligibility and potentially affected customers notified.
Confirmed by Phala and Together: the described exposure windows, model scope, current root-cause findings and rotation guidance. Some investigations remain incomplete.
Breachroad conclusion: prompts should be classified and monitored like data sent to an external processor, while secrets stay outside model context. This architecture recommendation follows from the documented data paths.
Sources
- Dragos: two million prompts and canaries across the AI supply chain
- OpenRouter: response to inference-provider incidents
- Phala: preliminary incident report
- Together AI: June and July prompt-sample leak
What to do now
Export routing history, identify affected endpoints, review prompt content and immediately rotate every secret sent during an exposure window. Then implement pre-model filtering and prohibit raw credentials in model context.
Teams using multiple models and agents can structure this work through secure-AI and cybersecurity training. Test real routes, permissions and exfiltration paths with AI red teaming.
Turn current threats into decisions your team can repeat.
We design role-based cybersecurity and secure-AI training around the situations employees actually face — with safe exercises, a clear reporting path and an improvement plan.
- Scenarios matched to roles
- No collection of real passwords
- Practical follow-up plan





