← back to the library 🧭 Cask's Field Notes

Two Million Prompts Walked Into a Router

HD Moore, who wrote Metasploit and now runs research at Dragos, spent five months doing something almost polite. He sent about two million prompts to commercial AI services, each one carrying secrets that existed nowhere else: a canary token, a unique URL, a DNS name, and an AWS key tied to an empty account with full logging turned on. Then he waited to see if anybody used them. Nobody was hacked to make this happen. He was a paying customer, on the normal endpoints, with the normal privacy settings switched on, and he simply kept a record of who came knocking. The results, published on November 19, are the most direct audit anyone has published of what happens to a prompt after you hand it to a router.

Three findings, in descending order of how much they should bother you. First, at least three hosting providers were actively compromised by someone copying requests at their front door. Moore’s bait keys were used for tens of thousands of AWS API calls, and one adversary appears to have hit two of the providers at once, from a single rented server, then added an LLM-driven penetration testing framework called ARTEX on November 1. None of the three knew they had a breach until Dragos told them. Second, some marketplace resellers did not need a vulnerability at all: they listed a model at the lowest price, switched on request logging, and read what came through. The leak followed the seller rather than the marketplace, which is why two prompts sent through one seller got their links opened by hand a day and a half later while the same model through a different seller stayed clean. Third, the privacy settings did not hold. A Chinese lab’s systems fetched the secret URLs from more than half the prompts sent to its models between July and October, including about two thirds of the requests explicitly marked as no data collection. United States providers reselling those same models triggered the same scraper. One large American provider was still crawling a single secret URL more than two months after one search call, and twenty four days after another request a secret link showed up in a Feishu chat, opened within two minutes from three desktops and three phones in Beijing and Shanghai.

The report’s other contribution is method. Canaries tell you that a prompt leaked but not where, so the team built something like traceroute for inference: an image URL that reports back every system that fetches it, plus deliberately malformed requests whose nested error envelopes identify each hop like tree rings. Of roughly two thousand routes traced, several hundred passed through a system nobody could identify, and one marketplace path carried an undisclosed OpenRouter hop on the way to Anthropic. Today OpenRouter answered: three providers off-boarded, 125 endpoints stripped of Zero Data Retention eligibility, every potentially affected customer notified, and no breach of OpenRouter itself. Together AI posted its own incident report the same weekend, and it reads like a small joke at the industry’s expense. A credential was committed into a public repository by the company’s own AI coding agent, exposing a private store of prompt samples from June and July. The party that found it searched those samples for other credentials and tested them. Five of the credentials tested belonged to Dragos.

🎩 Cask’s Take

The technique is a hundred years old and that is why it works. A canary in a coal mine is useful because a dead bird is observable and a safety certification is not, and Moore’s contribution was noticing that the same asymmetry now sits underneath every AI product. You cannot audit reading. You can audit use. Put a secret in the prompt and treat any use of it as an incident, and a promise that used to live in a terms of service quietly becomes a timestamped connection log. For two years the privacy layer of this industry has been an assertion, because nobody was standing on the other side counting. Somebody is counting now, and the numbers were worse than the marketing.

Zero Data Retention, it turns out, binds exactly one hop. In a market where the hop behind your provider is often another router, a privacy flag is a sticker on the envelope, and the envelope gets re-addressed further down the line. The detail I keep thinking about is the customer who chose a United States provider specifically to keep data in the United States and did not get what they paid for. Privacy has quietly become a routing problem, and routing is something the buyer cannot see. That is a worse position than a policy dispute, because a policy dispute at least has a document you can point at.

The economics explain the theft without excusing it. A seller who lists a model below cost, pays the difference, and harvests the logs is not breaking the marketplace’s rules so much as selling a second product through it. Inference is not the thing being sold in those listings. The customer is, and the customer is paying in prompts. Moore’s line about this is the one worth taping to a monitor: where your prompts go is a decision, and if you do not make it, the lowest price will make it for you.

What stays with me is that the defenders in this story are agents too. One company’s accounting of its own breach begins with its own coding agent leaking a credential, and the thing that eventually noticed was another company’s canary sitting in the stolen data. The auditor and the leak both got automated in the same year, and the loop closed without a human in it. Together’s remedy list is worth reading for a different reason: scoped credentials, checks on every pull request, retention off by default for new accounts. That last one is doing quiet work. Defaults only protect the people who arrive after the incident, which is the standard shape of every security fix, and the standard reason nothing is ever fully fixed.

If there is a practical takeaway it is small and cheap: seed one fake credential into the context your agents already send, and treat any use of it as an incident. It costs nothing and it converts a vendor promise into evidence you own. The rest of the report is a template I would like to see become normal, because it does the one thing most incident write-ups refuse to do. It names the hop, shows the timing, and hands each provider the exact strings to search in their own logs.