News · Automation

Cheap AI API Providers Caught Stealing Keys and Snooping on Prompts, Dragos Research Reveals

Security researchers sent two million bait requests to AI inference providers and found intermediaries harvesting credentials, ignoring privacy settings, and routing data to Chinese actors.

By Emonarc Editorial Team3 min read
A claymation-style scene where a hand plucks key-shaped tokens from a stream of clay pellets flowing through a cracked pipe.

Security researchers at Dragos sent roughly two million AI requests laced with fake credentials to budget inference providers and uncovered widespread credential theft, prompt snooping, and routine privacy violations. The findings, drawn from tests conducted between July and November 2026, expose a structural weakness in the multi-hop supply chain behind many cheap AI API endpoints — and they matter for any developer or small business routing prompts through a third-party marketplace.

What the researchers found

Dragos identified at least three compromised providers where attackers were actively stealing user data. None of the three knew they had been breached until Dragos notified them. In the largest incident, attackers harvested hundreds of AWS keys — including from requests the provider had rejected before processing. Some stolen keys were tested within hours, used to search S3 storage, and attackers attempted to establish persistent access. One attacker also used ARTEX, an AI-powered attack tool.

Marketplace resellers posed a separate risk. According to Dragos, they didn't need to exploit a vulnerability — listing a model at the lowest price and turning on logging was enough to read customer requests. In one case, someone on a residential internet connection in France attempted SSH logins using passwords pulled from intercepted prompts.

Privacy guarantees also broke down. Settings like "Zero Data Retention" (ZDR) were frequently ignored. Dragos reports that a Chinese AI lab accessed secret test URLs in more than half of all requests, even when those requests went through US providers. One major US provider was still crawling a test URL more than two months after a single request. In another case, a secret test link appeared in an internal chat on Feishu (Lark) 24 days after the request and was opened within two minutes on three computers and three phones in Beijing and Shanghai.

AI routers like OpenRouter give developers a single API for models from different companies. Requests are routed to a pool of providers, sometimes across several hops, and each hop can read the entire request and response, Dragos says. Some of these routers operate as open marketplaces where the cheapest provider gets the traffic. Providers including Novita, AtlasCloud, and StreamLake sat between OpenRouter and model developer MiniMax. Together runs its own infrastructure, and Phala has roots in Web3.

A separate analysis by the Oxford China Policy Lab showed Chinese proxy services routing requests to Western AI models like Claude through servers abroad, with the ability to read requests in transit. The methods mirror what Dragos found: intermediaries sit between users and model developers, view requests, and pass data to third parties — often without users knowing.

What OpenRouter and providers did

OpenRouter removed three providers from its platform and revoked ZDR approval for 125 endpoints, partly due to the research and partly as a precaution. The company also emailed affected users, warning that third parties may have read requests sent to MiniMax models. Affected providers — including Novita, Phala, and Together — have published preliminary security reports, though not all have done so yet.

What to watch before you switch

Dragos warns organizations against sending requests containing credentials to intermediaries and recommends several practical steps:

  • Control how AI requests are routed rather than letting price decide automatically.
  • Check privacy settings, but don't assume they are honored.
  • Plant canary tokens — fake credentials that reveal themselves as soon as someone uses them.

Dragos Chief Research Officer HD Moore put it bluntly: "if you don't make it, the lowest price will make it for you." For freelancers and small businesses building automated workflows with tools like n8n or Make, the lesson is that the cheapest AI endpoint can carry hidden costs. If your prompts contain API keys, database credentials, or sensitive customer data, every hop in the routing chain is a potential exposure point. Until providers demonstrate concrete enforcement of ZDR and access controls, the safest approach is to send sensitive requests only to providers you have vetted directly — and to treat every intermediary as if it can read everything you send.

Frequently asked questions

How did the researchers uncover the security flaws?

Researchers at Dragos sent roughly two million AI requests containing fake credentials to AI providers between July and November 2026 and monitored how intermediaries and providers handled them.

Which providers were implicated in the findings?

Dragos identified at least three compromised providers. OpenRouter removed three providers and revoked ZDR approval for 125 endpoints. Named providers include Novita, Phala, and Together, which have published preliminary security reports, and AtlasCloud and StreamLake, which sat between OpenRouter and MiniMax.

What steps does Dragos recommend to protect AI requests?

Dragos recommends controlling how AI requests are routed, checking privacy settings, avoiding sending credentials through intermediaries, and planting canary tokens — fake credentials that alert you as soon as someone uses them.

Sources

  1. The Decoder: Security researchers show how cheap AI inference providers steal keys and snoop on users

The daily AI brief. 5 minutes, free.

What shipped, what changed in pricing, and the tools actually worth paying for.

No spam. Unsubscribe in one click.