Data processing incidents at the inference providers behind OpenRouter

The security company Dragos tracked AI inference providers with test prompts carrying fake credentials, and by its account at least three were breached. After the report, OpenRouter removed three providers. Anyone calling models through an aggregator sends prompts through several layers of providers behind it.

Aggregators such as OpenRouter take requests through a single API and pass them on to many inference providers, the companies that actually run the models. When you call an AI model through one, whether your prompts are logged, and who gets to read them, depends on how the providers behind it handle them. On 22 November OpenRouter announced that security researchers had reported that some inference providers had their data compromised, or showed evidence that they were not upholding their own published data policies.

OpenRouter removed three providers as a result, and withdrew Zero Data Retention (ZDR) eligibility from 125 endpoints, an endpoint being the entry point a provider offers for a particular model. ZDR means that prompts and responses are not routinely stored once a request has been processed. As of 1 December OpenRouter had not said which three providers it removed, and its announcement states that the findings showed no breach of OpenRouter itself. The announcement also says that potentially affected customers have been notified, that OpenRouter is adapting the researchers' method so it can test on an ongoing basis, and that endpoints which lost eligibility have to pass validation before it is restored.

The problems were reported by researchers at the security company Dragos. Over several months they sent about two million prompts to widely used AI services, each containing a unique URL and a set of canary credentials (canary tokens). The canary credentials are fake AWS keys tied to an empty account, so whenever someone uses one to log in, the researchers can work out which prompt was read.

At least three AI providers showed signs of leaking customers' data, according to Dragos, and none of the three knew about the breach until the researchers told them. Dragos does not name them. In one case, every request the researchers sent to that provider during a few short windows was taken, and some of the keys were being tested within hours. In the other two, some of the requests taken had been marked ZDR.

Another situation involves no breach at all. In an inference marketplace the request goes to the reseller offering the lowest price, and Dragos found that a seller who turns on request logging can read and keep customers' prompts. Dragos does not name the marketplace, nor does it say that the marketplace belongs to OpenRouter. The sellers the researchers traced looked like individuals on home internet connections, trying to log in to the researchers' test servers one attempt at a time.

Dragos also writes that some providers appeared not to honour customers' privacy settings. In the case it describes, the systems of one Chinese AI lab fetched the URLs in more than half of the prompts the researchers sent to its models. That included about two-thirds of the requests the researchers had marked "no data collection" or ZDR.

MiniMax published a notice on 24 November in response to OpenRouter's report, explaining that its security monitoring system had extracted URLs from some forwarded requests, stored them in security logs, and automatically accessed some of them. The requests involved included ones identified in OpenRouter's report as ZDR. MiniMax has since disabled the mechanism on the forwarding paths it has confirmed. It has also deleted the recorded URLs from its security logs, and says that apart from the URLs being accessed, it found no sign in the requests it checked that prompts or responses had been disclosed to third parties.

Perspective

A privacy setting such as ZDR binds only the company that receives the request, yet requests sent through an aggregator often pass through more than one hop before they reach the server running the model, and Dragos's write-up says every hop can see the entire prompt and response. When a provider was breached, Dragos observed that some requests flagged ZDR were taken all the same. In MiniMax's case the provider's own security system extracted URLs from ZDR requests regardless, and its notice says that only URLs and IP addresses were recorded and that, apart from the URLs, no content was found to have leaked.

People using OpenRouter through its API can set provider.zdr to true in a request so that it is routed only to ZDR endpoints. They can also change provider.data_collection from the default allow to deny, which excludes providers that may store data. Turning off training in the account settings only avoids providers that train on data, and does not exclude providers that keep it. Dragos also recommends picking the upstream providers yourself, checking that your privacy settings really change where requests go, and staying away from reseller marketplaces.

Extending Dragos's advice about first-tier providers, people who do not write code can give sensitive material directly to the company that actually provides the service, rather than going through a reseller or an aggregator. Dragos's write-up calls this the smallest exposure available, though data can still leak through data-sharing agreements or a breach at the provider. Dragos's own tests also recorded large US providers coming back to fetch URLs after a request.

Separately, keeping passwords, API keys and private URLs out of prompts sent to the cloud limits the damage if those prompts leak. Developers can follow Dragos's advice and seed canary credentials in what they send, treating any use of one as an incident. Atlas Cloud, which resells MiniMax models, advises anyone who used MiniMax M3, M2.7 or M3.1 Flash on its platform to treat any secret sent to those models as exposed. Atlas Cloud asks them to check their prompts and outputs for keys, passwords and private URLs, and to revoke whatever leaked.

The Taiwanese and Hong Kong governments have each issued guidance on what staff may put into outside AI services. In Taiwan, the Executive Yuan's reference guidelines on generative AI, issued in October 2023, bar staff at the Executive Yuan and its agencies from giving generative AI confidential or personal information, or information not yet cleared for release, while closed models deployed on premises may be used according to classification level once the environment has been confirmed secure. Hong Kong's Digital Policy Office, in its July 2026 guide for government bureaux and departments, tells staff not to input classified or personal data into external or public AI platforms.

In mainland China, Article 11 of the Interim Measures for the Management of Generative Artificial Intelligence Services, in force since August 2023, sets obligations for the providers of such services. They may not unlawfully retain input and usage records that can identify a user, and may not unlawfully provide users' input and usage records to others. The measures apply only to services offered to the public within mainland China.

Prompts stay off other people's servers only when the model runs on your own computer, and the open-source Ollama and llama.cpp, both under the MIT licence and still being updated as of late November, can run open models locally. Ollama also offers a cloud mode, and choosing the cloud means processing no longer happens on your machine. Among the complete machines Dragos lists for self-hosting, the cheapest is NVIDIA's DGX Spark at US$6,950, and the write-up adds that for most teams self-hosting only makes sense for the most sensitive work.

Get new stories by RSS, newsletter or Bluesky