The AI Gazette

Agent securityCost and routing

Bait prompts catch AI providers leaking what customers send them

A research team at Dragos led by HD Moore sent approximately two million prompts carrying unique URLs and canary credentials to widely used AI services from July through November 2026 and watched where the secrets surfaced. On 22 November OpenRouter said it had off-boarded three providers and removed 125 endpoints from Zero Data Retention eligibility.

Black and white photo, taken from below, of a server in a rack: a row of drive bays under a grille of hexagonal openings.
Image: Dragos (opens in a new tab)

An AI router offers one address for many models. It forwards each request to a pool of hosting providers and sends one bill. Dragos notes that the path often passes through more than one router before it reaches the server that runs the model, and that every hop can see the whole prompt and the whole reply. Some routers are open marketplaces where the seller with the lowest price gets the request. Customers can set privacy flags, the strictest of which is Zero Data Retention, or ZDR: the prompt and the response are not to be stored.

To see what happens in practice, the team used canary tokens. A canary is a secret that exists in one place only, so any use of it proves that place was exposed. Each prompt carried its own web address and its own credentials, among them real AWS keys tied to empty accounts with full logging. The team also built what it calls a traceroute for AI inference: an image link that reports every system that fetches it, and small broken requests whose nested error messages give away each hop. It has traced about two thousand routes. Several hundred included a system it could not identify, and a handful sent the image to a company that was not on the advertised path at all.

The most serious finding is that attackers were stealing data from three hosting providers. The earliest case dates from the middle of July, and none of the three knew until Dragos told them. In the largest, a couple hundred AWS keys were stolen, each sent in exactly one request in late October. Some came from requests the provider rejected before a model ever ran, which tells the researchers the copying happened at the provider's front door. In the other two breaches, some stolen requests were marked ZDR. The attackers tested the keys, in some cases within hours, listed storage, searched for stored secrets and tried to add their own users; the bait keys were used for tens of thousands of AWS API calls.

The second finding needed no break-in. A marketplace seller only has to list a model at the lowest price, switch on request logging and wait. In one case two prompts went through a single seller's offer, and about a day and a half later someone on a home broadband connection opened both secret links and began guessing usernames. Prompts for the same model sent through a different seller were never touched, so the leak follows the seller, not the marketplace as a whole. One router turned out to forward some of its traffic to the marketplace without saying so; it told Dragos it has stopped.

The third finding is that privacy settings were ignored. The systems of one Chinese AI lab fetched the secret links from more than half of the prompts sent to its models between July and October, including roughly two-thirds of the requests marked for no data collection or ZDR. Prompts sent to several U.S. hosting providers that resell the lab's models set off the same scraper. In the strangest case, 24 days after a prompt was sent to one Chinese provider, its secret link was posted in a company chat on Feishu and opened within two minutes from three desktops and three phones in Beijing and Shanghai. Dragos says the request had gone to a U.S.-based provider with the ZDR flag set.

OpenRouter's announcement of 22 November says the findings did not show any breach or unauthorized access of OpenRouter itself. It off-boarded three providers, removed 125 endpoints from ZDR eligibility, some of them as a precaution, and notified all potentially affected customers. It is adapting the researchers' method to run such checks continuously and is verifying network paths for requests that are forwarded to third parties. The post does not say which providers were removed. It links to notices from three providers, Novita, Phala and Together, and adds that not all affected providers have posted publicly.

Dragos does not conclude that AI services should be avoided. Its list: host the model in-house where that is affordable; otherwise go directly to a first-tier provider, one company with one contract; on a router, pick the upstream providers by hand and verify that the privacy settings change where requests go; stay away from reseller marketplaces; switch on secret filtering where it is offered. The team adds that a privacy flag only binds the first hop, and that AI agents will happily send whatever they can read, credentials included.

From other editions

Say hi.