The AI supply chain that leaked two million secret prompts
Dragos, the industrial cybersecurity firm, published on Thursday (Nov 19) the results of one of the most ambitious experiments ever conducted to map what happens to the data we send to artificial intelligence models. HD Moore, Dragos's chief research officer and creator of Metasploit, spent five months conducting an investigation that planted nearly two million prompts containing tracking credentials and URLs—called "canaries"—in widely used AI services and monitored where those secrets appeared afterward.
What they found was an ecosystem leaking sensitive data like a sieve: three hosting providers compromised by attackers, resellers accessing customer prompts using only standard logging features, and privacy settings systematically ignored by providers that promised zero data retention.
Why the AI supply chain matters
The basic premise is simple. When a company sends a prompt to an AI model—whether it's confidential source code, a strategic plan, or customer information—the text doesn't go directly to the final provider. It passes through AI routers (services that forward requests to pools of available models based on cost or suitability), then through inference resellers, and finally to a hosting provider that runs the model. Each link in this chain can read, log, and retain the data.
Many of these routers are open marketplaces where the seller with the lowest price gets the request. Resellers commonly offer inference at deep discounts—achieving this by pooling requests through unmetered consumer-plan subscriptions or finding low-cost paths to specific models (startup credits, etc.). In some cases, inference is even billed using stolen AWS credentials or consumer API keys.
AI providers commonly store prompts and responses for operational, training, safety, or abuse-monitoring purposes. Depending on the provider, that data may be retained for days, months, or indefinitely. And it may traverse multiple organizations, including model developers, cloud operators, inference platforms, and third-party resellers.
The prompts and responses—the inference data itself—are often more valuable than the GPU resources used to process them. They frequently contain confidential source code, internal communications, strategic plans, customer information, credentials, and other sensitive business data.
The two million canary experiment
Canaries are unique secrets that exist in only one place. If anyone tries to use them, you know the place has been exposed. The Dragos team began in July seeding prompts with Thinkst Canarytokens—URLs, AWS credentials (real keys linked to empty accounts with full logging), SSH passwords, DNS names, and private Git repository references. Each secret was planted in exactly one prompt sent to a single provider; all infrastructure referenced by the secrets was under researchers' control.
Over five months, about two million prompts were sent. The canaries started firing within days, and the canaries from July are still firing today.
The experiment worked so well that Dragos built a dedicated service just to generate unique seeds for each LLM prompt. This service generates a unique seed per prompt, derives unique hostnames, URLs, and credentials from it, and runs the services those credentials point to—DNS, web, git, SSH, databases, email, and a long tail of older protocols.
But canaries told them that a prompt leaked, not where in the chain. To discover who was actually processing requests, the team built something resembling traceroute for AI inference: they traced about 2,000 routes, several hundred of which included systems the researchers couldn't identify.
Three providers compromised
The most serious finding was direct and unambiguous. Active attacks were stealing data from three different hosting providers. Although the planted prompts were bait, they were processed along with real customer requests—and those were almost certainly copied too.
The largest incident involved a couple hundred AWS credentials. Each key was sent in exactly one prompt to one provider, all within a few short windows in late October. Every request sent during those windows was stolen. Some of the stolen keys came from requests the provider rejected before a model ever ran—indicating the attacker was copying requests at the provider's front door, not somewhere deeper in the inference stack.
Once armed with credentials, attackers followed a predictable path. First, they tested each key to see if it was live, sometimes within hours of the request. Then they went looking for data: listing S3 buckets and searching Secrets Manager and Parameter Store. Finally, they tried enabling hosted models in AWS Bedrock, creating Bedrock API keys, and adding their own IAM users to maintain access.
The stolen keys generated tens of thousands of API calls on AWS. Keys sent through two compromised providers were used almost simultaneously from the same rented server, suggesting a single operator.
The attacker's tooling changed over the three weeks of monitoring: it began with a script mimicking Chrome on Windows, moved to Boto3 running inside OrbStack, and later switched to AWS CLI on Kali Linux. On November 1, the same attacker added ARTEX, an LLM-driven penetration-testing framework. In Dragos's case, ARTEX did little—made a handful of calls to confirm keys the attacker already held were still live. Two user-agents sent, `artex-agent` and `artex-judge-r121`, don't appear in any public indicator list Dragos could find.
Most troubling: none of the three providers knew they'd been compromised until Dragos notified them. The first incident dates to mid-July; the provider initially thought it was a misconfiguration of internal tooling, then a partner data processing problem, until the investigation revealed the attacker had compromised internal credentials too.
Marketplace resellers accessing customer prompts
The second finding required no exploitation at all. Marketplace resellers only needed to list a model at the lowest price, enable request logging, and wait. What stood out was how personal it was—individuals working from home connections and personal computers, trying to breach the canary test servers one credential at a time.
In one case, two prompts were sent through a single seller's offer. About a day and a half later, someone on residential broadband opened both secret URLs in a desktop browser and started guessing usernames at the login page. Prompts for the same model that went through a different seller were never touched—meaning the leak followed the seller, not the marketplace as a whole.
In another case, an attacker working from a Mac on residential broadband in France took passwords from two prompts and tried to log in as root via SSH, typing each attempt by hand. That same Mac later tested several AWS keys in a single session.
One prompt passed through another seller without that routing being disclosed to the customer—an extra hop that the advertised route didn't mention.
Privacy settings ignored
The strictest setting available on AI routers is Zero Data Retention (ZDR), which specifies that prompts and responses are not stored. Routers should forward only to providers offering the same controls. In practice, providers frequently ignore these settings—intentionally or through processing flow bugs—and ZDR-marked prompts are treated as fair game.
A Chinese AI lab, which Moore does not name, fetched secret URLs from more than half of prompts sent to its models from July through October, including about two-thirds of requests marked "no data collection" or ZDR. The scraper typically appeared two or three days after the request.
Prompts flowed to this lab even through US resellers selling its models: a customer who chose a US hosting provider to keep data in the US didn't get what they paid for. Later, a Git client in another cloud tried cloning private repositories referenced in prompts—but only for prompts using that lab's models.
One canary link was posted to an internal Feishu chat channel 24 days after the prompt was sent and was opened within two minutes from three desktops and three phones in Beijing and Shanghai.
What this means for AI security
Dragos's conclusion is clear: putting a secret in a prompt is effectively publishing it. When prompts travel through routers, resellers, and hosts, each hop can see the full text; the zero-retention flag offers no protection against an attacker already inside.
What makes this case especially disturbing is not the malice of any single actor—it's the market structure. A user pays for privacy, but data is still read by intermediaries not in the contract. Privacy isn't a implementation failure, but a structural failure of an ecosystem that doesn't map who processes your prompts and can't rely on providers enforcing data-handling requirements.
For companies taking security seriously, Dragos recommends: running models on-premises servers (expensive but safest), going directly to first-tier providers (one contract, one privacy policy), using routers carefully (select upstream providers manually, avoid reseller marketplaces), seeding own canaries, and enabling secret filtering.
But the truth is, until the AI inference ecosystem evolves toward real transparency about data routes, every prompt sent to an external model is a gamble—and the cheapest model almost always conceals the most expensive exposure.
Sources: Dragos, Cybrsecmedia, ATLABYTE
✓ Independent sources cross-checked and verified before publishing