Dev.to Security 🔐 Cybersecurity 👁 0 📖 2 min read

I Ran the Numbers on the OpenRouter Prompt Leak — Your Fallback Provider Is Your Biggest Risk

I Ran the Numbers on the OpenRouter Prompt Leak — Your Fallback Provider Is Your Biggest Risk By Shivam Kumar — 24 November 2026 On 22 November, OpenRouter removed three inference providers, revoked Zero Data Retentio

I Ran the Numbers on the OpenRouter Prompt Leak — Your Fallback Provider Is Your Biggest Risk

By Shivam Kumar — 24 November 2026

On 22 November, OpenRouter removed three inference providers, revoked Zero Data Retention status from 125 endpoints, and told customers their prompts may have leaked. OpenRouter itself wasn't breached. The leak happened inside the providers behind it — and that's the part developers need to understand, because it's your architecture, not theirs, that decides how exposed you are.

What actually happened

Dragos' HD Moore published the research on 19 November. Between July and November his team sent ~2 million prompts through OpenRouter, each seeded with a unique tracking link or decoy credential. When a seeded credential got used against their canary AWS accounts, they knew a prompt had escaped.

Three providers then disclosed what happened on their side:

  • Together AI: an AI coding agent committed a repo credential to a public GitHub repo. An intruder downloaded stored prompt samples from June/July (MiniMax M3, GLM-5.2, Kimi K2.6), searched them for credentials, and tested them. Five tested credentials were Dragos canaries.
  • Phala: an attacker compromised a server processing DeepSeek V4 Flash 0731 requests via OpenRouter, 21 Oct–8 Nov, and pulled app credentials from affected VMs.
  • Novita: a routing misconfiguration forwarded some MiniMax requests to MiniMax's official API, 28 May–11 Nov.

Atlas Cloud pulled its models voluntarily after a separate incident. Some stolen requests were explicitly marked Zero Data Retention — the setting controls what a provider promises to keep, not what an attacker inside can read.

The numbers

  • 2M prompts / ~4 months ≈ 16,700 canary prompts a day. That was one research team.
  • Novita's window: 167 days. At 50 prompts/day, that's ~8,350 prompts potentially forwarded to an API you never chose.
  • Phala's window: 18 days. At 50/day, ~900 prompts through a compromised server.
  • Together AI's samples: June–July. At 50/day, ~3,000 prompts in a store an intruder downloaded.
  • 125 endpoints lost ZDR eligibility in one announcement.

Fix your routing today

Use provider pinning in your OpenRouter calls: order only the providers you vetted, set allow_fallbacks to false, and set data_collection to deny (ZDR where supported).

And the checklist:

  1. Check the account owner's inbox — OpenRouter notified affected customers. If you're on the list, rotate every secret that passed through those providers.
  2. Rotate anything that ever went into a prompt. Keys, tokens, connection strings. No shortcut here.
  3. Pin providers, disable fallbacks. A fallback is a silent re-route to a provider you never approved.
  4. Stop putting secrets in prompts. Env vars and secret managers for credentials; redact customer data before it reaches a model.

OpenRouter is turning Dragos' canary test into ongoing checks and will require validation before restoring ZDR. Good — but run your own version too. Plant a unique secret in a test prompt, watch whether it gets used. It costs almost nothing, and after 22 November it's the cheapest audit your stack will ever get.

Shivam Kumar builds AI agents and voice receptionists at VisionQuantech. Sources: OpenRouter announcement (22 Nov 2026); Dragos research (19 Nov 2026); BleepingComputer (23 Nov 2026); Together AI, Phala, Novita incident notices.

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.