Your Prompts Are Credentials Now, and Nobody Told the Inference Layer
Researchers planted canary tokens in about two million prompts and caught three AI inference providers leaking them for months. Some of those prompts were flagged Zero Data Retention. Read that last part again. ZDR was
Researchers planted canary tokens in about two million prompts and caught three AI inference providers leaking them for months. Some of those prompts were flagged Zero Data Retention.
Read that last part again. ZDR was supposed to be the checkbox that let you sleep.
Context
None of this is a new class of problem. It's the supply chain problem wearing a fresh jacket. You hand your data to a router, the router hands it to a provider, the provider runs it on infrastructure you've never seen and whose security posture you're taking on faith. Every hop is a place where someone can sit and read. We've done this dance with CDNs, with logging SaaS, with third-party analytics scripts. The AI version just has a more intimate payload.
What makes prompts different is what people put in them. According to the writeup, the attackers pulled AWS keys and passwords straight out of stolen prompts, then used them to enumerate S3 buckets and Secrets Manager and attempt IAM persistence. Nobody exploited a vulnerability in a customer's app here. They harvested credentials that developers pasted into a chat box. Debugging a Terraform error at 11pm, dumping an env file for context, "why isn't this key working." We all know someone who has done it. Fine, we've done it.
Hype check
The headline framing will be "AI providers compromised," and that's accurate, but it risks making this sound like an exotic AI-specific attack. It isn't. Someone broke into hosting firms and read the traffic. The attackers' tradecraft after that (S3 enumeration, Secrets Manager, IAM persistence) is cloud intrusion 101. The novelty is the source of the credentials, not the technique.
What's being understated is the Zero Data Retention piece. OpenRouter stripped 125 endpoints of ZDR eligibility, which tells you how many endpoints were making a promise that evidently couldn't be verified. ZDR is a contractual and policy claim. It is not a technical guarantee. If an attacker is sitting inside the provider's environment, "we don't retain your data" doesn't mean much when the data is readable in transit or in memory. A policy that says "we don't store it" is silent on "someone else is copying it while we handle it."
Also worth noting: the compromised providers are only one of the stories here. The researchers also found marketplace sellers logging prompts on purpose, and a Chinese AI lab's scraper fetching planted links that appeared in prompts. So you have outright intrusion, deliberate seller-side logging, and downstream scraping all happening in the same ecosystem. The marketplace model, where anyone can list an endpoint, is a trust problem baked into the business design. When the incentive is to be the cheapest endpoint, collecting prompts is a revenue stream.
Who benefits from the narrative? Anyone selling "trusted inference" or "private AI" as a category. Expect this story to get cited a lot. Some of those citations will be fair and some will be opportunistic.
Implications
First, canary tokens worked. Seed bait, watch what touches it, and you catch things no policy document will ever surface. This is old-school deception tech and it just caught three providers over months. If you run anything sensitive through a third-party model endpoint, you should be planting your own tripwires. It costs almost nothing.
Second, treat every prompt as if it will be read by a stranger. If a secret goes into a prompt, rotate it. Not "consider rotating." Rotate. The attackers here moved from stolen prompt to cloud enumeration, which means the window between leak and abuse can be short.
Third, routers and aggregators are a concentration point. One decision by OpenRouter to drop three providers protected a lot of people, but it also shows how much trust sits in the intermediary's vetting. Customers mostly can't audit the endpoints behind the router. They're relying on someone else's due diligence, and that diligence evidently missed months of theft until outside researchers found it.
Fourth, secrets hygiene in dev workflows just got more urgent. If your team pastes configs into LLMs, you need a way to catch credentials before they leave, and short-lived credentials so a stolen one expires on its own.
Open question
If a ZDR flag can be earned on paper and still fail in practice, and the only reason anyone noticed was a research team spending effort on canaries, what would it take for a customer to verify an inference provider's claims themselves instead of just trusting the label?
โ Cor, Skyblue Soft
Sources
AI-assisted draft or imaging, human-curated, reviewed and edited.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes โ full credit and traffic to the original publisher.