zero data retention ai prompt leak

Zero Data Retention Didn’t Hold. Two Million Fake Secrets Proved It.

TL;DR: Security researchers spent five months sending two million booby-trapped prompts through widely used AI services, each carrying a fake password that would phone home if anyone opened it. Plenty of people opened them — including, at one AI lab, roughly two-thirds of the requests that were marked “zero data retention”. Three hosting providers turned out to have attackers inside. If you’ve pasted an API key or a customer’s details into an AI tool, this is the week to assume it travelled.

What happened

On 19 November, Dragos published research by its chief research officer, HD Moore. The method is simple: send prompts containing credentials that look real but are worthless, then watch whether anything tries to use them. The report says they sent “approximately two million prompts containing unique URLs and canary token credentials” between July and November 2026, and traced “about two thousand routes”.

Things started using them.

Then on 21 November, Together AI published its own incident report. And on the morning of 22 November, OpenRouter — the routing layer a great many AI apps sit on — said it had off-boarded three providers and removed 125 endpoints from zero data retention eligibility.

Three disclosures in four days, all pointing at the same place: not the big-name AI labs, but the layer of resellers and hosting providers underneath them.

Where zero data retention broke down

Most AI services offer a setting, usually called zero data retention or “no data collection”, that promises your prompts aren’t stored. It’s the setting businesses point at when their lawyers ask awkward questions.

Dragos found it didn’t always hold. At one AI lab — unnamed in the report — its systems “fetched the secret URLs from more than half of the prompts that we sent to its models between July and October”, including “roughly two-thirds of the requests marked as ‘no data collection’ or Zero Data Retention.” Consistent enough to time: “The scraper typically showed up two or three days after the request.”

Then the blunter problem. Three hosting providers had attackers inside them:

  • “We found attackers actively stealing data from three different hosting providers.”
  • “One adversary appears to have compromised two of these providers at the same time.”
  • “none of the three providers knew about their breach until we notified them.”
  • “In the other two breaches, some of the stolen requests were marked as ZDR.”

Moore’s one-line summary is the sentence to remember: “A privacy flag doesn’t help when the attacker is already inside.”

And a detail that should end any comfort drawn from a rejected request: “Some of the stolen keys came from requests that the provider rejected before a model ever ran.” The prompt didn’t need to reach a model to leak.

Who leaked? Nobody is saying

This matters, so be careful what you repeat.

The Dragos report names none of the compromised companies. Its section on the breaches calls them only “hosting providers”. The AI lab that fetched the ZDR-marked secrets is described only as a Chinese AI lab. OpenRouter hasn’t named the three providers it dropped either, and notes that “Not all affected providers have posted publicly.”

Company names do appear in the report — OpenRouter and Anthropic among them — but in a diagram of a traced request path, as hops along a route, not as victims. Those are very different claims, and the difference will get flattened as this story spreads.

One company has named itself: Together AI, and its account is the one to read, because the cause is so close to home. Together kept prompt samples in a private repository; a credential for that repository was committed to a public GitHub repo by an AI coding agent. Automated scanning caught it and the commit was reverted — but not before someone downloaded the samples and began testing the credentials inside them.

An AI agent leaked the key to a store of AI prompts. Together has since made zero data retention the default for new accounts and says it is “updating processes for AI coding agents”. It also confirms the two stories are one: “Five of the credentials tested were canary credentials associated with a Dragos security experiment.”

Why this matters if you don’t code

Your app probably goes through a router. If you vibe-coded something that calls an AI model, it likely reaches that model through a marketplace or router rather than directly — the exact layer this research is about. Dragos found an undisclosed reseller quietly adding “about a thousand hidden tokens” to every prompt: you were paying for words you never wrote, and your request was somewhere you didn’t choose.

Anything you pasted into a prompt is in scope. Not just code — a customer list, a spreadsheet, a database password you were debugging. We’ve written before about an AI coding tool uploading entire projects while its privacy toggle did nothing. Same lesson, now at the infrastructure layer, with the attacker already inside.

What to do this week

  1. Rotate anything you’ve pasted into an AI prompt. API keys, database passwords, access tokens. Not because you were definitely hit — because a key copied anywhere is a key you no longer control, and rotating one takes minutes.
  2. Find out who actually serves your app’s model. If you built on a router, open its settings and look at which upstream providers are in the pool. Dragos’s advice is to pick them yourself rather than accept the default: “Use routers with care.”
  3. Turn zero data retention on — and don’t treat it as armour. Together’s advice is that “customers handling sensitive prompt data should enable ZDR in their account settings.” Do it. Just know what it is and isn’t worth.
  4. Stop putting secrets in prompts at all. The durable fix: give a tool its key through a settings field or environment variable, never by pasting it into a chat where it becomes text that gets stored, logged and forwarded.

Who should care (and who shouldn’t)

  • Building a revenue app: Care a lot. You’re handling other people’s data through a supply chain you didn’t pick. Check your router’s provider pool and rotate your keys.
  • Internal tool for your business: Care. Internal tools are where people paste real customer records, because it feels private. It isn’t.
  • Website or landing page: Mostly relaxed. If your site has no AI feature calling a model, this doesn’t reach you — but rotate any key you’ve pasted while building.
  • Learning: Good lesson to absorb early: a privacy setting is a promise from a company, not a law of physics.
  • No idea yet: Nothing to do. Pick a tool first — the 60-second quiz will help.

Our take

The honest reading is that the big labs mostly aren’t the problem here, and the research says so plainly: “None of this means that you should stop using AI services.” The weak link is the discount layer — resellers competing on price per token, where nobody is quite sure whose hardware a request lands on.

So what we’d change is narrower than panic: treat zero data retention as a reduction in risk rather than a guarantee, and stop letting secrets near a prompt. That second habit is the only one that survives an attacker being inside your provider.

The detail we keep returning to is Together’s. The breach didn’t start with a sophisticated adversary — it started with an AI coding agent committing a credential to a public repository. The same mistake a human makes, made faster. If you let an agent commit on your behalf, that’s your risk too.

—

Not sure which AI tool fits what you’re building — or how much of your data it touches? Take the 60-second Tool Finder quiz →

New to the terms? The vibe coding glossary explains tokens, prompts and the rest in plain English.

Some links on this page are affiliate links. If you buy through them we may earn a commission at no extra cost to you.

FAQ

What does zero data retention actually mean?

It’s a setting where an AI provider agrees not to store your prompts or the model’s replies after serving the request. It’s offered for sensitive work. The Dragos research shows it’s a contractual promise rather than a technical guarantee: at one lab, roughly two-thirds of requests marked that way still had their contents fetched.

Were my prompts leaked?

Possibly, if your app routed through a reseller. Nobody has published numbers. OpenRouter says it notified all potentially affected customers, and Together says it will contact affected customers as needed. If you weren’t contacted, rotate any keys you pasted into prompts anyway.

Which companies were breached?

Dragos does not name them — it calls them “hosting providers” and says none knew until it told them. OpenRouter hasn’t named the three it dropped. Only Together AI has named itself. Company names in the report’s route diagrams are hops on a path, not victims.

Should I stop using AI coding tools over this?

No, and the researchers say so directly. The practical change is knowing which provider serves your requests, preferring direct access over a discount marketplace, and never pasting a credential into a prompt.

Similar Posts