Cheap AI inference providers are stealing keys and prompts

Security By Updated on 3 min read

Dragos sent 2M requests with fake creds and found cheap inference providers stealing AWS keys and reading prompts. Your AI supply chain is wide open.

Dragos researchers blasted 2 million inference requests with fake credentials and exposed that several AI inference providers were reading, storing, and even stealing keys. Yes, the cheapest ones. This isn’t theoretical: hundreds of AWS keys were harvested and actively tested.

What happened

From July through November 2026, Dragos sent ~2M booby-trapped requests. They found at least three compromised providers that had no idea they were breached until notified.

  • In the largest incident, attackers collected hundreds of AWS keys, including from rejected requests. Within hours they tested creds, poked around S3, and tried to establish persistence. One attacker used ARTEX, an AI-powered attack tool.
  • In marketplaces, no exploit needed: list a model at the lowest price and turn on logging to read requests. In one case, someone on a residential connection in France tried SSH logins using intercepted passwords.
  • Zero Data Retention was frequently ignored: a Chinese AI lab accessed secret test URLs in more than half of requests, even when routed via US providers.
  • Major US providers broke their own policies: one kept crawling a test URL for over two months after a single request. In another case, a secret link surfaced 24 days later in an internal Feishu (Lark) chat and was opened on three computers and three phones in Beijing and Shanghai within two minutes.
  • OpenRouter removed three providers and revoked ZDR approval for 125 endpoints. It also warned users that third parties may have read requests sent to MiniMax models.
  • Affected providers including Novita, Phala, and Together posted preliminary reports (not all have yet).
  • AI routers can chain multiple hops, and every hop can read the entire request and response. In open marketplaces, the lowest bidder wins the traffic. That’s where risk leaks.

Why it matters

Your inference supply chain is only as secure as the cheapest hop. If you put secrets in prompts or headers, every intermediary can read, store, index—and as we’ve seen—use them within hours. Privacy checkboxes don’t help without technical enforcement.

Oxford China Policy Lab showed how Chinese proxy services route requests to Western models and can read them in transit. It’s unclear if those overlap with Dragos’s cases, but the pattern is the same: intermediaries see data and pass it along without users realizing.

"None of this means that you should stop using AI services. It does mean that where your prompts go is a decision, and if you don’t make it, the lowest price will make it for you" — HD Moore, Dragos

What I’d do next

  • Don’t put secrets in prompts. Ever. If unavoidable, use short-lived creds with least privilege and aggressive rotation. Encrypt secrets outside the request.
  • Plant canary tokens in inference flows and alert on any use. It’s your smoke detector.
  • Control routing: pin your provider, avoid “lowest price” marketplaces, and demand a direct path to the model developer. Contractually document where data flows and who touches it.
  • If you run inference in-house or in a VPC, lock egress: strict allowlists and alerts on unexpected DNS/HTTP. Fewer exits, fewer leaks.
  • Demand proof, not promises: security SLAs, verifiable zero-retention, access logs, independent pentests, and incident response timelines. No prod without them.
  • For sensitive workloads, prefer dedicated or self-hosted infrastructure. A breach is pricier.

My take

If you ship the vault key inside the prompt, don’t ask the router not to peek. Penny-per-million economics create million-dollar incidents. My read: credential hygiene, routing control, and canaries in prod. Which controls do you already have and which are missing?

PS: Zero Data Retention without enforcement is just a checkbox.

Related posts

More categories