Halftone portrait of HD Moore beside a canary perched on an envelope, with a magenta trail leading to a key.

Dragos Planted Two Million Booby-Trapped AI Prompts and Caught Attackers Inside Three Inference Providers

Dragos researchers hid fake credentials in about two million AI prompts and watched them get stolen and used, exposing breaches at three AI hosting providers and prompts kept despite Zero Data Retention flags. OpenRouter removed three providers.

By Aileron Daily8:00 am PT4 min read

Security company Dragos published research on November 19, 2026 showing that attackers had been stealing data from inside three AI hosting providers, none of which knew until Dragos told them. From July through November 2026, its researchers sent about two million prompts loaded with unique canary credentials and URLs to widely used AI services, then watched where those secrets turned up.

  • Method: unique fake AWS keys, passwords and URLs planted in about two million prompts, so any use of one proves someone saw that prompt
  • Breaches: three hosting providers compromised, the earliest from mid-July 2026
  • Largest breach: a couple hundred planted AWS keys stolen in late October, then used for tens of thousands of AWS API calls across the incidents
  • Privacy flags: in two of the three breaches, stolen requests carried the Zero Data Retention (ZDR) flag
  • Fallout: OpenRouter removed three providers and pulled 125 endpoints from ZDR eligibility; Dragos is working with about a dozen providers

How the Dragos canary prompts worked

A canary is a secret with no legitimate use. Dragos placed each one in a single prompt, so any attempt to use it showed that someone along the AI supply chain had read that prompt. The planted AWS keys were real keys tied to empty, monitored accounts.

The research was led by HD Moore, chief research officer at Dragos. His team also traced about 2,000 routes that AI requests take as they pass through routers, resellers and hosts.

Attackers inside three AI inference providers

The earliest breach dates to mid-July 2026. Because the bait prompts were processed alongside real customer requests, those customer requests were almost certainly copied too.

In the largest breach, Dragos sent a couple hundred planted AWS keys to one provider during a few short windows in late October, and the attacker took every one of those requests. A share of the stolen keys sat in requests the provider had refused before a model ever processed them, which shows the attacker was copying traffic at the front door rather than deep inside the inference system.

The attackers moved fast. They tested keys, sometimes within a few hours, listed S3 storage buckets, went through AWS Secrets Manager and Parameter Store, and attempted to create Bedrock API keys and add their own IAM users to keep access. The planted keys were used for tens of thousands of AWS API calls in total.

One attacker appears to have been inside two of the providers at once. On November 1, that attacker used ARTEX, an AI-driven penetration testing framework, to check that keys it already held still worked.

Zero Data Retention flags did not protect prompts

Zero Data Retention is a privacy setting under which a provider is not supposed to store the prompt or the response. In two of the three breaches, some stolen requests carried that flag. Moore's verdict: "A privacy flag doesn't help when the attacker is already inside."

Even without a break-in, flagged prompts were kept, passed to other companies and read by people. Between July and October, a Chinese AI lab's systems visited the secret URLs in over half of the test prompts its models received. About two-thirds of the requests flagged no data collection or ZDR were among them. Prompts sent to U.S. hosts that resell that lab's models set off the same scraper.

Twenty-four days after one prompt went out, its secret link showed up in a Feishu chat channel and was opened within two minutes on three desktops and three phones in Beijing and Shanghai.

Cheap reseller marketplaces harvested prompts

Some leaks needed no exploit at all. On an AI inference marketplace, sellers only had to offer a model at the lowest price and switch on request logging to collect customer prompts. In one case, an attacker on a home connection in France lifted passwords out of two leaked prompts and attempted root logins over SSH, entering every guess manually.

What OpenRouter and the providers did

OpenRouter, an AI router that gives developers one API for models run by many providers, said on November 22, 2026 that it had removed three providers based on its investigations. It also removed 125 endpoints from ZDR eligibility, some of them as a precaution, and notified all potentially affected customers. OpenRouter said the findings showed no breach of its own systems.

OpenRouter will require assurances and validation before any removed endpoint regains ZDR eligibility, and it is adapting the canary testing to run continuously. Among the providers, Phala said an attacker compromised one of its servers handling OpenRouter traffic, possibly until November 8, and Together AI said an unauthorized party downloaded stored prompt samples after an AI coding agent exposed a credential on GitHub.

What companies using AI APIs should do

Dragos does not tell companies to stop using AI services. Its point is that a privacy flag only binds the first hop a request takes, so the route matters as much as the model.

  • Host models yourself for the most sensitive work, if you can afford the hardware
  • Go directly to a first-tier provider where possible
  • On a router, choose the upstream providers yourself and avoid reseller marketplaces
  • Seed your own canary credentials and treat any use of one as an incident
  • Turn on secret filtering, knowing that much sensitive data does not look like an API key

The facts

  1. From July through November 2026, Dragos researchers sent about two million prompts carrying unique URLs and canary credentials to widely used AI services and tracked what happened to them afterward.

  2. HD Moore is chief research officer at Dragos and leads the research team behind the study.

  3. Dragos published the findings on November 19, 2026.

  4. The planted URLs and credentials had no legitimate use, so any attempt to use one showed that someone in the AI supply chain had seen the prompt that carried it.

  5. The planted AWS keys were real keys tied to empty accounts that Dragos monitored.

  6. Dragos found attackers stealing data from inside three different AI hosting providers.

  7. The earliest breach dates to mid-July 2026, and none of the three providers knew it had been breached until Dragos told them.

  8. Real customer requests processed alongside the bait prompts were almost certainly copied as well.

  9. The largest breach exposed a couple hundred planted AWS keys sent during a few short windows in late October, and every request sent to that provider in those windows was stolen.

  10. Some stolen keys came from requests the provider rejected before any model ran, which shows the attacker was copying traffic at the provider's entry point rather than deep inside the inference system.

  11. Attackers tested the stolen keys, in some cases within a few hours of the request.

  12. The attackers listed S3 storage buckets and searched AWS Secrets Manager and Parameter Store for data.

  13. The attackers tried to create Bedrock API keys and add their own IAM users to keep access.

  14. The planted keys were used for tens of thousands of AWS API calls in total.

  15. One attacker appears to have been inside two of the providers at the same time.

  16. On November 1, that attacker used ARTEX, an AI-driven penetration testing framework, to check that keys it already held still worked.

  17. Zero Data Retention (ZDR) is a privacy setting under which the prompt and response are not supposed to be stored.

  18. In two of the three breaches, some of the stolen requests carried the ZDR flag.

  19. HD Moore wrote: "A privacy flag doesn't help when the attacker is already inside."

  20. Despite ZDR, the test prompts were kept, passed to other companies and read by people.

  21. On an AI inference marketplace, sellers only had to list a model at the lowest price and switch on request logging to collect customer prompts, with no exploit needed.

  22. In one case, an attacker on a home connection in France took passwords from two leaked prompts and tried to log in as root over SSH, typing each attempt by hand.

  23. A Chinese AI lab's systems opened the secret URLs in more than half of the prompts sent to its models between July and October, including about two-thirds of requests marked no data collection or ZDR.

  24. Prompts sent to U.S. hosts that resell the Chinese lab's models triggered the same scraper.

  25. Twenty-four days after one prompt was sent, its secret link was posted in a Feishu chat channel and opened within two minutes on three desktops and three phones in Beijing and Shanghai.

  26. Dragos traced about 2,000 routes that AI requests take through routers and providers.

  27. Dragos is working with about a dozen providers on its findings.

  28. OpenRouter is an AI router that gives developers one API to reach models run by many different providers.

  29. On November 22, 2026, OpenRouter said it had removed three providers from its platform based on its investigations.

  30. OpenRouter removed 125 endpoints from Zero Data Retention eligibility, including some removed as a precaution.

  31. OpenRouter notified all potentially affected customers.

  32. OpenRouter said the findings showed no breach of or unauthorized access to OpenRouter itself.

  33. OpenRouter will require assurances and validation before restoring ZDR eligibility to any removed endpoint, and is adapting the canary testing to run on an ongoing basis.

  34. Phala said an attacker compromised one of its servers handling requests routed through OpenRouter, possibly until November 8.

  35. Together AI said an unauthorized party downloaded stored prompt samples after an AI coding agent exposed a credential on GitHub.

  36. Dragos advises hosting models yourself for the most sensitive work if you can afford it, going directly to a first-tier provider, choosing a router's upstream providers yourself and staying away from reseller marketplaces.

  37. Dragos also advises seeding your own canary credentials and turning on secret filtering, while noting that much sensitive data in prompts does not look like an API key.

  38. Dragos says a privacy flag only binds the first hop a request takes, and it does not advise companies to stop using AI services.

In their words

What people in AI posted about this story

Guillermo Rauch on X

Founder and chief executive, Vercel

This aged extremely well. There's a tweet out there (will likely get deleted soon) of a provider giving you "free" inference of a "stealth model" that's "ZDR" with millions of views. These stealth models are mechanisms of industrial scale data exfiltration to nation state programs, I strongly suspect, and the Dragos research seems to confirm. Imagine explaining to your boss: sorry chief, I *had* to try this really cool ZDR free stealth model… all our secrets, customer data, and code are now in a different continent! Vercel AI Gateway built up tremendous, real-world token volume without taking any of these shortcuts. More to come tomorrow on how we will push the trust, privacy, and security bar even higher.
Open on X

Questions and answers

What did Dragos find with its canary prompts in 2026?

Dragos sent about two million prompts carrying unique fake credentials and URLs to widely used AI services from July through November 2026. Attackers stole data from inside three AI hosting providers, the earliest breach dating to mid-July, and none of the providers knew until Dragos told them.

Why did OpenRouter remove three providers in November 2026?

OpenRouter removed three providers on November 22, 2026 based on its investigations after the Dragos canary research. It also removed 125 endpoints from Zero Data Retention eligibility, some as a precaution, notified all potentially affected customers, and said the findings showed no breach of OpenRouter itself.

How do canary tokens detect AI prompt leaks?

A canary is a fake secret with no legitimate use, placed in exactly one prompt. If anyone tries to use it, that proves someone along the AI supply chain read the prompt. Dragos used real AWS keys tied to empty, monitored accounts, plus unique URLs and passwords.

Did Zero Data Retention settings protect prompts in the Dragos study?

No. In two of the three breaches, stolen requests carried the Zero Data Retention flag, and flagged prompts were also kept, shared with other companies and read by people. A Chinese AI lab opened secret URLs in about two-thirds of the requests marked no data collection or ZDR.

What did attackers do with the AWS keys stolen from AI providers?

Attackers tested the stolen AWS keys, sometimes within a few hours, listed S3 buckets, searched Secrets Manager and Parameter Store, and tried to create Bedrock API keys and add IAM users. The planted keys were used for tens of thousands of AWS API calls in total.

How can companies protect prompts sent to AI APIs?

Dragos advises hosting models yourself for the most sensitive work, going directly to a first-tier provider, choosing a router's upstream providers yourself, avoiding reseller marketplaces, seeding your own canary credentials and turning on secret filtering. A privacy flag only binds the first hop a request takes.

More in this topic

Latest video

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.