AI Supply Chain Privacy Disaster: The Data Breach Reality Exposed by 2 Million Canary Experiments

Security researcher HD Moore embedded 2 million unique secret information (canaries) into the AI router ecosystem and tracked the results, revealing that at least three hosting providers were compromised, prompts were stolen, resellers violated ZDR (Zero Data Retention) policies by recording and distributing data, and a Chinese AI research institute scraped secret URLs from two-thirds of prompts marked 'no data collection'. Prompts are decrypted and logged at each hop through routers, hosting, and model providers, meaning end-to-end encryption alone does not provide protection. Moore suggests that on-premises hosting or direct contracts with first-tier providers are the only practical alternatives.

Experiment Design: The Significance of Planting 2 Million Canaries

Security company Dragos's Chief Research Officer HD Moore embedded unique 'canaries' into approximately 2 million AI prompts from July to October 2024 and tracked where, how, and by whom that secret information was reused. The canaries consisted of never-before-used credentials such as actual working AWS access keys, SSH passwords, unique DNS names, and private Git repository references, and Moore directly controlled the infrastructure to detect the moment those credentials were used.

"We sent nearly 2 million AI prompts containing unique and trackable secret information to AI providers and watched where that information appeared. What we found was widespread security breaches, prompt theft, and failures in customer data protection."

This experiment demonstrated that in the current structure where intermediary services known as AI routers or AI gateways (e.g., OpenRouter, Vercel) receive user prompts and route them to inference engines based on price and performance criteria, prompts can be decrypted in plaintext at each hop for processing and logging.

Structural Vulnerabilities in the AI Router Ecosystem

Currently, many AI applications do not contract directly with first-tier providers like Anthropic and OpenAI, instead dynamically selecting the optimal model through AI routers. In this process, prompts pass through the following path:

  1. user app
  2. AI router (e.g., Vercel)
  3. another router (e.g., OpenRouter)
  4. inference pool (hosting provider)
  5. model execution

At each stage, prompts are encrypted in transit (TLS), but are decrypted in plaintext internally for routing decisions. According to Moore, "prompts are read in plaintext at the first AI router to determine the appropriate inference provider, and subsequently, various hosting providers and model pools can log according to their policies (or indefinitely)." This means that data is placed under opaque policies of multiple entities rather than a single contract and single privacy policy.

Summary of Key Findings

Discovery AreaDetailsSeverity
Hosting Provider BreachesAttackers stole prompts in bulk from at least 3 providersCritical
Reseller Logging and LeakageLogging after inducing prompts with low-cost bait, passing to third partiesHigh
Ignoring ZDR and No Collection FlagsRequests marked 'no data retention' were still collected by providers and scrapersHigh
Scraping by Chinese Research InstituteCollected secret URLs from over 50% of prompts routed to their models, including ~67% of ZDR requestsCritical
Scraping via US ResellersData leaked to Chinese research institutes even when selecting US providersHigh

Three Instances of Hosting Provider Breaches and Attacker Behavior

The most shocking discovery was that three individual hosting providers were breached, allowing attackers to extract prompts in real-time. Moore described it as "attackers copying requests from the provider's front door." Some stolen keys were already taken during the stage where the provider rejected the request before the model was executed.

This shows that upstream supply chain breaches have a cascading impact on all downstream customer data.

Reseller Prompt Theft and ZDR Policy Violations

Not only attackers but also resellers themselves were found to be intercepting prompts. They provided inference capacity at low prices to attract traffic, then activated request logging and waited. Moore identified that by calling the same model through different resellers, responsibility could be separated. When credentials were reused only in requests through a specific reseller and not in requests through others, it was determined that the reseller, not the model provider, was the source of the leak.

Moreover, prompts marked with ZDR (Zero Data Retention) flags or "no data collection" were still collected, stored, and reused by providers, resellers, and scrapers. Moore pointed out, "Privacy flags are of no help when attackers are already inside."

Systematic URL Scraping by Chinese AI Research Institutes

The most clear and widespread pattern observed in the experiment was the scraping activities of Chinese AI labs.

This pattern proves that a systematic data collection infrastructure exists at the model provider level, and that data leaks upstream through downstream resellers.

Defense Strategies and Industry Implications

Based on the experiment results, Moore proposed two practical alternatives.

1. On-Premises Model Hosting: "The most effective leakage prevention measure" but costly. 2. Direct Contracts with First-Tier Providers: Engage directly with providers that have one contract and a readable single privacy policy → not a complete prevention but minimizes the likelihood of leaks.

He also recommended not to accept default provider and reseller pools, and to directly select upstream providers.

This research serves as a latest indictment showing the 'Wild West' reality of the AI inference marketplace. Prompts are exposed in plaintext at each stage as they pass through multiple intermediaries, and in the current structure where they are uncontrollably distributed across contracts, policies, and borders, end users, companies, and developers are all left in a state where they cannot know 'where the data goes'.

Actions Developers and Companies Can Take Immediately

Verified figures

Our take

This research demonstrates that the AI inference supply chain is not a 'secure pipeline' but a 'chain of multiple hops where plaintext is exposed'. Policy flags like ZDR become ineffective when attackers have already infiltrated the infrastructure or when the provider itself maliciously logs. Companies should add a column to their 'model performance and price' comparison table indicating 'how many gateways the data passes through'.

Open questions

Source

Back to catalog