Who reads your prompts? Canary tests expose leaks at AI inference providers and routers
A five-month canary experiment by Dragos found prompts sent to AI inference providers being copied, scraped and read. OpenRouter removed three providers and 125 endpoints from its zero data retention list, and Together AI, Phala and Novita published incident notices.
- Reading time
- 16 min
- Sections
- 7
- Code examples
- 1
- Tables
- 1
- Sources
- 8
- Published
- 23 Nov 2026
- What changed
- Dragos publishes its canary experiment
- Why it matters
- Agents make the problem bigger.
- What to do
- Rotate any secret that has been in a prompt
Every time an application calls a hosted language model, the prompt travels through somebody else's computers. Usually that is a short path: your code, one API provider, one model server. With model routers and cheap inference marketplaces, the path can be longer than you think, and every extra stop is a place where text can be logged, copied or read.
This week that risk stopped being theoretical. Security company Dragos published the results of a five-month experiment in which it sent about two million prompts containing unique, trackable secrets to AI services and watched who used them. Within days, the model router OpenRouter off-boarded three inference providers and removed 125 endpoints from its zero data retention list. Together AI, Phala and Novita each published notices about prompts that were exposed, forwarded or downloaded.
This article explains what happened, how canary tokens caught it, why a "do not retain my data" flag did not protect many of these prompts, and what teams that build on hosted LLMs and coding agents should change now.
What happened
Dragos publishes its canary experiment (19 November 2026)
Dragos Chief Research Officer HD Moore published "Three breaches, endless leaks: Your AI supply chain needs canaries". According to the post, the team sent "approximately two million prompts" containing unique URLs, DNS names and credentials to widely used AI services between July and November 2026. Some of the credentials were real AWS keys tied to empty accounts with full logging, so any use could be seen.
Dragos reports three kinds of problem:
- Provider compromises. At least three AI providers had customer data exposed, and Dragos says none of them knew until it notified them. In the largest case, in late October, "a couple hundred" planted AWS keys were stolen. Some came from requests the provider rejected before any model ran, which Dragos reads as copying "at the provider's front door". The attacker tested keys within hours, listed storage buckets, searched secret stores and tried to create new access. Dragos says the keys were used for tens of thousands of AWS API calls, and that one key seeded on 21 October was still in use three weeks later.
- Marketplace resellers. Sellers on an inference marketplace could see prompts simply by turning on request logging. No break-in was needed. In one case a France-based attacker tried root SSH logins using passwords taken from prompts.
- Ignored privacy settings. Dragos says a Chinese AI lab's systems fetched secret URLs from more than half of the prompts sent to its models between July and October, including roughly two-thirds of requests marked "no data collection" or zero data retention. It also reports one large US provider still crawling a URL more than two months after a single request.
The post also traced about two thousand network routes and says several hundred of them passed through a system it could not identify.
OpenRouter off-boards three providers (22 November 2026)
OpenRouter, which forwards API requests to many upstream inference providers, published a notice about "data processing incidents on inference providers". It off-boarded three providers, removed 125 endpoints from zero data retention (ZDR) eligibility, including some removed as a precaution, and notified potentially affected customers. OpenRouter states: "These findings did not show any breach or unauthorized access of OpenRouter." It says it is adapting the researchers' tests to run continuously and is checking network paths for requests forwarded to third parties. Removed endpoints regain ZDR status only after "appropriate assurances and validation".
OpenRouter did not name the three providers it removed. Neither did Dragos for the three it found compromised, so it is not public whether the two groups are the same.
Together AI discloses a prompt sample download (21 November 2026)
Together AI CEO Vipul Ved Prakash published a security notice. The company had stored samples of customer prompts, authorised for software testing, in a private Hugging Face repository. The samples came from requests to MiniMax M3, GLM-5.2 and Kimi K2.6, mainly on 24 June, 4 July, 8 July and 14 July 2026. While Together was developing its public GitHub repository xorl, "an AI coding agent committed a credential that provided access to the private Hugging Face repository". Automated scanning caught it and the commit was reverted, but an unauthorised party had already downloaded the samples, searched them for other credentials and tested them. Five of those were Dragos canaries.
Together says it has moved to scoped or short-lived credentials, checks every pull request for secrets, updated its rules for AI coding agents and made ZDR the default for new accounts.
Phala and Novita publish their own notices (10 and 22 November 2026)
Phala's preliminary incident report, dated 10 November, describes an attacker who chained a legacy service with management interfaces that trusted loopback access, and separately reached an inference deployment on a new GPU server that "was serving production traffic without our full production security hardening". Phala says requests to DeepSeek V4 Flash 0731 between 21 October 00:00 UTC and 8 November 05:35 UTC should be treated as exposed.
Novita's notice, dated 22 November, says a routing configuration issue sent some MiniMax requests to MiniMax's official API instead of Novita's own servers between 28 May and 11 November 2026, covering requests made directly and through OpenRouter. Novita says request contents may have been accessed or retained by a third party, and suspended the affected models.
How a prompt travels, and where it can leak
It helps to picture a prompt as a parcel. You hand it to a courier (the router). The courier may give it to a regional depot (an inference provider), which may hand it to a subcontractor (a reseller or another API). The label on the parcel says "do not open", but the label is only a request. Whether anyone honours it depends on every company that touches the parcel.
A typical request through an LLM router looks like this:
- Your application or agent builds the prompt. In agent systems this often includes tool outputs, file contents, environment details and, too often, secrets.
- The router chooses a provider based on price, latency, availability and your settings. Routers are useful because they give one API across many models; the site's page on LLM routing covers how the choice is made.
- The inference provider receives the request at its gateway, queues it, runs it on a model server such as vLLM, and returns the answer.
- Optional further hops. Some providers forward traffic to another API or a marketplace seller. Novita's issue was a forwarding path that applied more widely than intended.
Each hop can keep a copy: gateway logs, debugging samples, evaluation datasets, abuse-monitoring queues, crash dumps. The Dragos finding that keys were stolen from requests that were rejected before inference shows that the gateway itself is a capture point, not only the model server.
| Hop | What it can see | Typical leak path in this week's reports |
|---|---|---|
| Your agent or app | Everything it puts in the prompt | Secrets copied into context; credentials committed by a coding agent (Together) |
| Router | Full request and response | Forwarding traffic onward to a marketplace (reported by Dragos) |
| Inference provider gateway | Full request, even if rejected | Traffic copied at arrival during a compromise (Dragos, largest breach) |
| Model server | Prompt during processing | Attacker controlling the inference VM (Phala) |
| Stored samples and logs | Whatever was retained | Testing samples downloaded with a leaked credential (Together) |
| Upstream model owner | Forwarded request | Requests routed to another company's API (Novita) |
How canary tokens catch a leak
A canary token is a fake secret that is worthless except for one thing: it tells you when someone uses it. The name comes from the canary in a coal mine, a small early warning that something invisible has gone wrong.
The method Dragos describes is simple:
- Make each prompt unique. Every prompt gets its own URL, DNS name and credential. Dragos started with Thinkst Canarytokens and then built its own seeding service.
- Make the bait realistic. A real AWS key attached to an empty, fully logged account behaves exactly like a valuable key to an attacker.
- Wait and watch. If the URL is fetched, the DNS name is resolved or the key is used, the tripwire records the time, address and tool.
- Trace back. Because each secret appeared in only one prompt sent to one route at one time, a hit points to the exact provider and time window.
This works because people and scripts who steal data tend to test it. Dragos describes attackers trying stolen keys within hours. It also catches quieter behaviour: a crawler fetching a URL days later suggests that the prompt was stored and processed, even where the provider promised it would not be.
Canaries have limits. They show that a prompt was read, not every prompt that was read. A thief who reads text but never touches the planted secrets stays invisible. A positive hit is strong evidence; a quiet period is weak evidence.
Why "zero data retention" did not hold
Zero data retention is a promise that the provider will not store your prompts and outputs after it answers. On a router, a ZDR setting usually means "only send my requests to endpoints that have agreed to this policy". Dragos sums up the problem in one line: "a privacy flag only binds the first hop".
Three things in this week's reports explain why.
A policy is not a control. ZDR is a contract and a configuration choice. If an attacker is inside a provider's network, as in the compromises Dragos describes, the policy does nothing. In Dragos's words, "A privacy flag doesn't help when the attacker is already inside."
Forwarding breaks the chain. If a provider sends your request to another company, that company's policy applies, not the one you selected. Novita's forwarding issue and the router-to-marketplace forwarding in the Dragos report are both examples.
Some providers appear not to honour it. The Dragos report of secret URLs being fetched from about two-thirds of requests marked ZDR or "no data collection" for one lab's models is the most direct evidence. These are Dragos's measurements; the providers concerned have not all responded publicly.
A useful comparison is a hotel safe. It protects your passport from a casual thief, but not from someone with the master code or from a hotel that quietly copies the contents. Hardware-backed confidential computing aims to close that gap by keeping data encrypted even from the operator; the site's article on confidential inference on TPUs explains how. Phala's report shows that the surrounding software still matters: an attacker who controls the inference virtual machine can see request data while it is being processed.
Continue learning
How this article connects
11 pages link to or from it. Drag to turn, click a dot to open it.
What it means in practice
Agents make the problem bigger. A chat user types a question. An agent pastes file contents, shell output, configuration and logs into its context, often without a human reading them. That is where real credentials end up. The site's article on stolen keys and shadow AI covered the user side of this; this week shows the provider side.
Coding agents can leak secrets in both directions. Together AI's incident started with a coding agent committing a credential to a public repository. Tools like Claude Code and other coding agents can read and write files, so the same review and secret-scanning rules that apply to human commits must apply to theirs. The site's guide to governing AI agent access covers scoped credentials for agents.
Cheapest is a security decision. Dragos warns that if you do not choose your providers, "the lowest price will make it for you". Routers that send traffic to the lowest bidder can place your prompts on infrastructure you never reviewed.
Self-hosting is the only path with no third party, at a price. Dragos lists hardware from a Mac Studio with 512 GB at $22,299 to an eight-GPU B300 server at $570,000 or more. For many teams, open-weight models on their own hardware are now realistic; see self-hosted open-weight coding agents and the llama.cpp 1.0 guide.
What to do now
- Rotate any secret that has been in a prompt. If your agents ever sent keys, tokens or passwords to a hosted model, especially through the routes named in these notices, treat them as exposed and rotate them. Phala, Novita and Together all give this advice for affected requests.
- Pin your providers. If you use a router, choose the upstream providers yourself instead of letting price decide, and check that your privacy setting actually changes which endpoints receive traffic.
- Avoid reseller marketplaces for sensitive work. Dragos found that marketplace sellers could read prompts just by enabling logging. Use them only for data you would be comfortable publishing.
- Plant your own canaries. Put a fake key or a unique URL into your agent's system context and pipeline configuration. Any use is an incident. A free canary token is enough to start.
- Keep secrets out of context. Give agents short-lived, narrowly scoped credentials through a broker, not raw keys in environment variables they can print. This is the core of agent identity and delegation.
- Scan agent commits like human commits. Turn on secret scanning for every pull request, including ones opened by coding agents, and block merges that contain credentials.
- Filter prompts before they leave. Use secret filtering where providers offer it and add your own redaction step; techniques such as data tokenization replace sensitive values before they travel. Remember that filters miss secrets that do not look like keys.
- Prefer one accountable provider. For sensitive data, a direct contract with a first-tier provider means one company and one privacy policy to review, as Dragos recommends.
- Write down your data path. For each model you call, record every hop: router, provider, region and any forwarding. Apply zero trust thinking: assume each hop can read what it receives.
Risks and open questions
Which providers were breached is still unclear. Neither Dragos nor OpenRouter has named the three compromised or off-boarded providers, and not every affected provider has published a statement. Customers cannot yet map every finding to a specific endpoint.
ZDR claims are hard to verify from outside. Canary testing can show that a prompt was read, but it cannot prove that one was not. Until providers offer independent audits or hardware attestation, ZDR remains largely a matter of trust.
Coding agents add new ways to leak. The Together incident shows an agent writing a credential into public code. As agents get more autonomy over repositories, the rules about what they may commit, and who reviews it, will matter more.
Stolen data keeps being used. Dragos reports planted keys still being accessed months after the first thefts. Prompts already copied cannot be recalled, so rotation and monitoring are the only remedies.
Watch next: whether OpenRouter's continuous canary checks become a public signal for each endpoint; whether more providers publish incident reports; the full root cause analysis Phala says is pending; and whether other routers and clouds adopt network path verification and default ZDR as Together has for new accounts.
Frequently asked questions
What is a canary token in AI security?
A canary token is a fake secret, such as a URL, DNS name or access key, that alerts its owner when anyone uses it. Placed inside a prompt, it reveals whether someone read and acted on that prompt. Dragos used millions of unique canaries so that each alert pointed to one provider and one time window.
Does zero data retention mean my prompts are safe?
Not by itself. ZDR is a policy that a provider agrees to, and on a router it usually controls only which endpoints receive your request. It does not stop an attacker inside a provider, and Dragos reports that some services appeared not to honour it.
Was OpenRouter itself breached?
OpenRouter says the findings "did not show any breach or unauthorized access of OpenRouter". The problems were at upstream providers and resellers. OpenRouter responded by off-boarding three providers, removing 125 endpoints from ZDR eligibility and notifying customers.
How did a coding agent cause the Together AI incident?
According to Together AI, an AI coding agent committed a credential to its public xorl repository while the code was being developed. The credential gave access to a private repository of stored prompt samples. The commit was reverted after automated scanning found it, but an unauthorised party had already used the credential.
Should I stop using hosted LLM APIs?
Dragos itself says "None of this means that you should stop using AI services." The practical answer is to choose providers deliberately, keep real secrets out of prompts, rotate anything that may have been exposed and add canaries so you learn about leaks quickly. For the most sensitive data, self-hosting removes third parties from the path.
Summary
A five-month canary experiment by Dragos showed that prompts sent to AI inference services were copied at compromised providers, read by marketplace resellers and, in some cases, processed despite zero data retention settings. OpenRouter off-boarded three providers and pulled 125 endpoints from its ZDR list, while Together AI, Phala and Novita disclosed downloads, exposure windows and unintended forwarding. The lesson for anyone building with LLMs and agents is that a prompt is only as private as the least trustworthy hop it passes through. Pin your providers, keep secrets out of context, scan agent commits, rotate exposed credentials and plant canaries of your own; useful background is in the site's pages on guardrails and the LLM serving stack.
Sources
- Web Dragos: Three breaches, endless leaks: Your AI supply chain needs canaries
- Web OpenRouter: Data processing incidents on inference providers
- Web Together AI: Security event: Prompt leakage for requests in June and July of 2026
- Web Phala: Phala November Preliminary Incident Report
- Web Novita AI: MiniMax requests privacy notice
- Web The Hacker News: OpenRouter drops 3 providers after prompt theft findings
- News The Decoder: Security researchers show how cheap AI inference providers steal keys and snoop on users
- Web Unite.AI: Together AI discloses prompt leak after coding agent exposed credential
Cite this article
Kelahmet, Ö. C. (2026, November 23). Who reads your prompts? Canary tests expose leaks at AI inference providers and routers. Özer Cem KELAHMET. https://www.ozercemkelahmet.com/articles/inference-provider-prompt-leaks-canaries
BibTeX
@online{kelahmet2026inference,
author = {Kelahmet, {\"O}zer Cem},
title = {{Who reads your prompts? Canary tests expose leaks at AI inference providers and routers}},
year = {2026},
month = {nov},
url = {https://www.ozercemkelahmet.com/articles/inference-provider-prompt-leaks-canaries}
}Version historyfirst version
- Published
Factual corrections are listed here with what changed. Wording and formatting edits are not listed.