AI Prompt Leaks: 2m Canary Test Exposes AI Supply Chain

A large experiment by security researcher HD Moore has found that sensitive data placed in AI prompts can leak widely as it passes through the chain of companies that route and run AI models. The study on AI prompt leaks, published on Thursday, found stolen credentials, resellers logging customer prompts, and AI providers scraping private links, even when users had asked for no data to be kept.

Moore, chief research officer at industrial cybersecurity firm Dragos, said his team sent nearly two million AI prompts containing unique, trackable secrets to AI providers and then watched where those secrets appeared. His findings were first detailed by Ars Technica.

How the canary experiment worked

Many AI apps do not connect directly to a big model company such as OpenAI or Anthropic. Instead, developers use brokers known as AI routers or AI gateways, such as OpenRouter or Vercel. These services take a prompt and send it to an available inference provider, often the cheapest or best suited one. The prompt may then go to a pool of models hosted by different companies, and sometimes from one router to another.

Prompts are encrypted while travelling, but they are decrypted at each step so that each service can read and process them. Each company in that chain may also keep logs according to its own policy.

To test the chain, Moore built a set of “canaries”: working AWS access keys tied to empty accounts, passwords for services such as SSH, unique web addresses, DNS names and references to private code repositories. None had been used before, and his team controlled the systems that would receive any attempt to use them. Each secret went into exactly one prompt sent to one provider, so any leak could be traced back to a single link in the chain.

What the AI prompt leaks revealed

The most serious finding was that three separate hosting providers had been breached. Attackers who had access to one of them reused a couple of hundred of the planted AWS keys. According to Moore, every request his team sent to that provider during a few short periods in late October was stolen, including some that the provider rejected before any model ran. That suggests the attacker was copying traffic at the provider’s entry point.

The stolen keys were tested, sometimes within hours. The attackers searched storage buckets and secret stores for more credentials, tried to switch on hosted models in AWS Bedrock and added their own users to keep access. In total, the bait keys were used tens of thousands of times in AWS API calls. Keys sent to two of the breached providers were used together from the same rented server, pointing to a single attacker.

Some leaks came from the resellers themselves. Moore said certain sellers offered low prices to attract traffic, switched on request logging and waited. By sending the same request to the same model through different sellers, his team could tell whether a reseller or the model maker was responsible for a leak.

The study also found AI providers scraping secret links placed in prompts. In one case, a Chinese AI lab’s systems fetched the secret URLs from 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 zero data retention. Prompts sent through US hosts that resell the same lab’s models triggered the same scraper. One US provider was seen visiting a secret link more than two months after it was used once.

Key facts

  • Researcher: HD Moore, chief research officer at Dragos
  • Scale: nearly 2 million prompts with unique secrets
  • Breached providers: 3 hosting providers
  • Stolen key use: tens of thousands of AWS API calls
  • Privacy flags: some “zero data retention” requests were still stolen or scraped

Advice for developers and companies

Moore said the safest option is to host models on a company’s own servers, though that is expensive. The next best choice is to use a first-tier provider directly, with one contract and one privacy policy to check. He also advised against accepting default provider pools offered by routers and suggested picking upstream providers yourself.

The findings are relevant for Pakistan, where many software houses and startups build products on top of low-cost AI routers to keep costs down. Developers who paste API keys, passwords or client data into prompts should assume that data may travel far beyond the company they signed up with. AI is also finding flaws on the defensive side, as ITInsider reported in our story on the Java4Shell flaw found by AI.

FAQ

What is an AI router?
A service that receives prompts from apps and sends them to an AI model provider, often based on price or suitability.

Does zero data retention protect prompts?
Not fully. The study found some requests marked for zero retention were still stolen in breaches or scraped.

How can companies reduce risk?
Avoid putting secrets in prompts, use first-tier providers directly or self-host, and choose upstream providers instead of default pools.

Official sources: HD Moore’s research write-up (Dragos), November 2026

Featured image: representational, AI-generated

Previous Post
Next Post

Latest News

  • All Posts
  • AI & Tech
  • E-commerce
  • Events
  • Freelancing & Jobs
  • Industry
  • Interviews
  • IT Exports
  • ITInsider Research
  • News
  • Policy & Govt
  • Startups & Funding
  • Telecom & Digital
  • World Tech
    •   Back
    • IT Pulse
    • Company Lens
    • Policy Check
    • Sector Deep Dive

NEWSLETTER

The Weekly IT Briefing

    Edit Template