Get a demo — 30 minutes →
← Back to blog
Anomity robot illustrating Prompt Theft at AI Inference Providers - What Dragos's Canary Prompts Found and Why OpenRouter Dropped Three Providers
Research

Prompt Theft at AI Inference Providers - What Dragos's Canary Prompts Found and Why OpenRouter Dropped Three Providers

TL;DR
  • Between July and November 2026, Dragos researchers led by HD Moore sent about two million prompts carrying unique URLs and canary credentials to AI services, then watched who used them. They published the results on November 19.
  • Attackers were inside three AI hosting providers, the earliest since mid-July, and none of the three knew until Dragos told them. Some stolen requests were flagged Zero Data Retention (ZDR).
  • Stolen AWS bait keys were tested within hours and used to list S3 buckets, search Secrets Manager and Parameter Store, create Bedrock API keys and add IAM users. On November 1 one attacker brought in ARTEX, an LLM-driven pentest framework.
  • Marketplace resellers logged and read customer prompts without any exploit, and prompts marked ZDR were scraped, shared and even posted into a company chat 24 days later.
  • On November 22 OpenRouter off-boarded three providers, removed 125 endpoints from ZDR eligibility and notified affected customers. Phala, Together AI, Novita and Atlas Cloud have published their own notices.
  • The lesson: AI agents send whatever they can read, including credentials. Treat every secret that went into a prompt as exposed, and control what agents can read before the prompt leaves the machine.

The short version: a prompt is not a private conversation with a model. It is a request that can pass through several routers, resellers and hosting companies before a GPU ever sees it, and every one of those hops can read the whole thing. Dragos set out to measure what happens to that data, and the answer was worse than the privacy settings suggest: prompts were stolen by intruders, logged by resellers, scraped by model labs and read by people, including prompts the customer had marked Zero Data Retention.

This matters more in 2026 than it would have two years ago, because the thing writing prompts is increasingly an AI agent. A coding agent that reads a .env file, a terminal history or a config with a cloud key will put it in the context it sends upstream. If you route that agent through a cheap inference pool, you have handed those secrets to whoever the cheapest seller turns out to be.

What to do now

  • Check the provider notices. If you used DeepSeek V4 Flash 0731 through OpenRouter, Phala says to treat requests sent between October 21 at 00:00 UTC and November 8 at 05:35 UTC as exposed. Novita says MiniMax requests on its platform between May 28 and November 11, 2026 may have been accessed by a third party. Atlas Cloud says to treat secrets sent to its MiniMax M3, M2.7 or M3.1 Flash models as exposed. Read the email OpenRouter sent your account, if any.
  • Rotate secrets that ever went into a prompt. API keys, cloud credentials, database passwords, tokens and private URLs that an agent or a person pasted into a request to a routed or resold model should be revoked, not just reviewed. Removing a provider stops future exposure but does not recall what was copied.
  • Hunt with the published indicators. Dragos says the user agents artex-agent and artex-judge-r121, used by the ARTEX framework against its bait keys, appear in no public indicator list it could find. Add them to your cloud and web detections.
  • Review your router settings. Choose upstream providers explicitly instead of accepting a default pool, and confirm that privacy flags actually change where requests go. Dragos advises staying away from reseller marketplaces entirely.
  • Stop secrets reaching prompts in the first place. Inventory which machines run AI agents and which credentials sit on them, and block agents from reading credential files they have no reason to touch.

How the canary experiment worked

A canary is a secret that exists in exactly one place. If anyone uses it, that place leaked. Dragos started in July with Thinkst Canarytokens, giving every request its own AWS key, DNS name and URL, then built a dedicated service that derives unique hostnames, URLs and credentials for each prompt and runs the services they point to: DNS, web, git, SSH, databases, mail and more. The AWS keys were real keys on empty, fully logged accounts. Every touch could be tied back to the exact prompt, model, router and privacy setting that carried it.

Because a router usually reports only one upstream provider, and that provider is often another router, Dragos also built what it calls traceroute for AI inference: image URLs that reveal every system that fetches them, plus slightly malformed requests whose nested error messages expose each hop. Across about 2,000 traced routes, several hundred included a system the researchers could not identify, a handful sent data to a company that was not on the advertised path, and one marketplace seller was found quietly adding about 1,000 hidden tokens to every prompt.

Finding one: attackers inside three hosting providers

The most serious result is plain intrusion. Dragos caught attackers stealing data from three different hosting providers. The bait prompts were processed alongside real customer traffic, so real requests were almost certainly copied too. The earliest incident began in the middle of July, and none of the three providers knew until Dragos notified them.

In the largest breach, a couple hundred bait AWS keys were each sent in a single request during a few short windows in late October, and every request sent in those windows was stolen. Some came from requests the provider had rejected before any model ran, which tells you the attacker was copying traffic at the front door, not deep inside the inference stack. In the other two breaches, some stolen requests carried the ZDR flag. As Dragos puts it, a privacy flag does nothing once an attacker is already inside.

What the attacker did with the keys is a familiar cloud playbook, run fast:

  • Validate: each key was tested to see if it was live, in some cases within a few hours of the request.
  • Loot: list S3 buckets and search Secrets Manager and Parameter Store.
  • Persist and monetize: enable hosted models in AWS Bedrock, create Bedrock API keys and add attacker-owned IAM users. The bait keys drew tens of thousands of AWS API calls in total.

One adversary appears to have been inside two of the providers at the same time, using secrets from both together, almost immediately, from a single rented server. Its tooling changed over three weeks, from a script posing as Chrome on Windows, to Boto3 inside OrbStack, to the AWS CLI on Kali Linux. On November 1 it added ARTEX, an LLM-driven penetration testing framework, though in this case ARTEX only confirmed that keys the attacker already held were still live. It is another data point for the trend we covered in autonomous hackbots and agent-layer visibility: attackers now run agents of their own.

Disclosure has been uneven. Dragos says the provider behind the July incident first blamed an internal tooling misconfiguration, then a partner's data processing, before its investigation found its own internal credentials had been compromised. As of the Dragos post, that provider had not disclosed the incident publicly, and stolen data was still producing login attempts in late October.

Finding two: marketplace sellers reading prompts

The second finding needed no break-in at all. On an AI inference marketplace, a seller can list a popular model at the lowest price, turn on request logging and wait for traffic. Dragos found that this is exactly what some sellers did, and that they looked like individuals on home internet connections rather than organized groups. In one case, someone opened two secret URLs about a day and a half after they were sent through one seller and started guessing usernames at the login page. Prompts for the same model sent through a different seller were never touched, so the leak followed the seller, not the marketplace.

In another case, a person on a Mac on home broadband in France took passwords from two prompts and tried them as root over SSH, typing each attempt by hand, then tested several bait AWS keys from the same machine. One of those keys had gone to a different router entirely. That router turned out to be forwarding some of its traffic to the marketplace, a hop no customer was told about. Dragos says it has since stopped.

Finding three: privacy settings that did not hold

The third finding involves no stolen credentials, only data going where it was not supposed to go. A Chinese AI lab, which Dragos does not name, fetched the 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 ZDR, typically two or three days after the request. Prompts sent to U.S. hosting providers that resell the lab's models triggered the same scraper. A git client on a different cloud later tried to clone the private repositories referenced in those prompts.

Large U.S. providers were not clean either. Dragos says one kept crawling a secret URL more than two months after it appeared in a single call to that provider's search endpoint, and another runs a scraper that returns for URLs days after each request, whichever router was used. The strangest case: 24 days after a prompt went to one Chinese provider, its secret link was posted into a Feishu chat (Lark outside China) and opened within two minutes from three desktops and three phones in Beijing and Shanghai. Dragos had disclosed only the first eight characters of that link, so whoever posted it was reading a stored copy of a prompt sent to a U.S.-based provider with the ZDR flag set.

What OpenRouter and the providers have said

OpenRouter, the gateway that routes customer requests to a pool of third-party providers, published an incident announcement on November 22. It says the findings showed no breach of OpenRouter itself, and that it has off-boarded three providers, removed 125 endpoints from ZDR eligibility (researcher-flagged routes plus precautionary removals) and notified all potentially affected customers. It is adapting the researchers' testing so checks run continuously, verifying network paths to find where requests are forwarded to third parties, and requiring assurances and validation before any removed endpoint regains ZDR status. Neither Dragos nor OpenRouter has named the three breached or off-boarded providers, and neither has said whether they are the same three.

ProviderWhat its notice says
Phala (Nov 10)An attacker chained a legacy internet-facing service with management interfaces that trusted loopback access, then took control of an inference VM on a new GPU server that lacked full production hardening, making in-flight request data visible. Treat DeepSeek V4 Flash 0731 requests routed by OpenRouter between Oct 21 and Nov 8 as exposed. Contained Nov 8.
Together AI (Nov 21)Prompt samples from MiniMax M3, GLM-5.2 and Kimi K2.6 requests in June and July, kept in a private Hugging Face repository for testing, were downloaded after an AI coding agent committed a credential to Together's public xorl GitHub repository. The party searched the samples for credentials and tested them; five were Dragos canaries. ZDR is now the default for new accounts.
Novita (Nov 22)A routing configuration issue sent some MiniMax requests to MiniMax's official API instead of Novita-hosted infrastructure, May 28 to Nov 11. The researcher saw access to embedded URLs and hostnames but no use of AWS test keys. The affected models were suspended.
Atlas Cloud (Nov 23)Dragos testing showed a third party opened links from prompts sent to MiniMax's official API, including MiniMax M3 and M2.7 prompts sent through Atlas Cloud. Atlas Cloud stopped sending requests there and, by its own decision, took its models off OpenRouter while it retests them.

The Together AI notice deserves a second look from anyone running coding agents. The prompt samples did not leak through an inference flaw. They leaked because an agent wrote a live credential into a public repository, the same class of mistake behind the Claude Code secrets found in public settings.local.json files. Together says it has changed its development processes for AI coding agents as a result.

Why this is an agent governance problem, not just a vendor problem

It is tempting to read this as a story about a few bad hosting companies. The more useful reading is about what goes into prompts. Dragos makes the point directly: AI agents will send whatever they can read, credentials included. A developer would rarely paste an AWS key into a chat window, but an agent asked to debug a deployment will happily read the file that holds one and ship it upstream with the rest of the context.

We saw the same shape in the Fireworks AI breach, where stored agent traces at an inference provider held credentials that led attackers onward, and in the OpenCode Console breach, where AI provider keys were the prize. Each time, the secrets were sitting in places nobody had inventoried. Routing through a gateway does not remove that risk, as our guide to securing LLM gateways and proxies explains; it adds hops that can see the traffic.

Dragos's own recommendations are sensible and worth adopting: self-host the most sensitive work if you can afford the hardware, go directly to a first-tier provider when you can, pick upstream providers yourself when you must use a router, seed your own canaries into the context your agents already send and treat any use as an incident, and turn on provider-side secret filtering while remembering that it only catches data shaped like a key. Every one of those works better when you know which agents run where and what they can reach. Our guide to secrets management for AI agents covers the credential side in depth.

How Anomity helps

Know which secrets an agent could leak. The Anomity Endpoint Sensor reports which credentials and AI provider keys sit on each managed Windows, macOS and Linux endpoint, by type and location, with values redacted on the endpoint. When a provider tells you that prompts from a date range were exposed, the list of keys that could have been in them becomes a query, not a survey.

See the agents and runtimes in use. The same sensor inventories the AI agents, MCP servers, extensions, plugins, skills, hooks, CLIs and local LLM runtimes on each machine, and the Browser Sensor shows browser and cloud AI use, so you can see where prompts are being generated and which teams already self-host models. Cloud discovery adds the Google Workspace and GitHub OAuth grants AI apps hold, and a 90-day audit trail records what changed and when.

Stop the read before the prompt is sent. On agents that expose a hook, such as Claude Code PreToolUse, Anomity's managed hooks can allow, deny or log a tool call before it runs, for example an agent reading .env files, cloud credential caches or SSH keys it has no reason to touch. Findings route to SIEM, Slack, email or Jira. Anomity is SOC 2 Type II and complements EDR, DLP, network and GRC tools rather than replacing them. To see which agents and secrets are on your fleet today, book a 30-minute demo.

Frequently asked questions

What did the Dragos canary research find?

Dragos sent about two million prompts containing unique URLs and canary credentials to AI services from July to November 2026. It found attackers inside three AI hosting providers, marketplace resellers logging and reading customer prompts, and providers whose systems accessed or shared prompts despite no-data-collection or Zero Data Retention settings.

Was OpenRouter breached?

OpenRouter says the findings showed no breach or unauthorized access of OpenRouter itself. The problems were at upstream inference providers. In response, OpenRouter off-boarded three providers, removed 125 endpoints from Zero Data Retention eligibility and notified potentially affected customers on November 22, 2026.

Which providers were affected?

Dragos and OpenRouter have not named the three breached or off-boarded providers. Phala, Together AI, Novita and Atlas Cloud have each published notices about their own incidents or exposure, which OpenRouter links from its announcement. Not every affected provider has posted publicly.

Does Zero Data Retention protect my prompts?

Only as far as the company honoring it. Dragos found stolen requests marked ZDR at two of the breached providers, and a Chinese AI lab scraping about two-thirds of requests marked no data collection or ZDR. A privacy flag binds the first hop; it does not stop an intruder or guarantee how downstream resellers handle the data.

What should I do if my prompts may have been exposed?

Check the provider notices and any email from OpenRouter for the affected models and date ranges, then revoke and rotate every API key, token, password and private URL that could have been in those prompts. Review the accounts those credentials reach for unauthorized activity, and add the ARTEX user agents artex-agent and artex-judge-r121 to your detections.

Why are AI agents part of this risk?

Agents read files and command output and send them upstream as context. Dragos notes they will send whatever they can read, credentials included. Together AI's incident also began when an AI coding agent committed a credential to a public repository. Limiting what agents can read is the most direct way to keep secrets out of prompts.

How does Anomity help with this?

Anomity's Endpoint Sensor reports which credentials and AI provider keys sit on each managed machine, with values redacted on the endpoint, alongside the AI agents, MCP servers, extensions, skills, hooks, CLIs and local LLM runtimes installed. Hooks on agents such as Claude Code can allow, deny or log tool calls, such as reading credential files, before they run, and a 90-day audit trail keeps the record.

Ask AI about Anomity
ChatGPT Claude Perplexity Google AI Grok