Pranav Innovates

You commented KEYS. Here’s everything from the reel.

AI prompt leaks at inference providers: rotate your keys and lock down OpenRouter

From @PranavInnovates (the "Comment KEYS" episode, Daily Tech News, 22 Nov 2026). Security firm Dragos hid bait keys and links in nearly two million prompts sent to AI services (July-November 2026) and watched who used them. It caught attackers stealing data from three AI hosting providers (none knew until told; Dragos hasn't named them), resellers logging prompts, and some prompts marked zero data retention (ZDR) being taken or scraped anyway. On Saturday 21 Nov 2026, OpenRouter off-boarded three providers, removed 125 endpoints from ZDR eligibility and notified all potentially affected customers. OpenRouter says it was not breached itself.

Were you in an affected window?

Provider What When What they say
Phala DeepSeek V4 Flash 0731 (also via OpenRouter) 21 Oct 00:00 UTC - 8 Nov 05:35 UTC 2026 treat request contents as exposed; rotate secrets in them
Novita MiniMax models (direct or via OpenRouter) 28 May - 11 Nov 2026 contents may have been accessed or retained by a third party (forwarded to MiniMax's API)
Together AI stored prompt samples: MiniMax M3, GLM-5.2, Kimi K2.6 mainly 24 Jun, 4, 8, 14 Jul 2026 downloaded via a credential an AI coding agent committed to a public repo

Also: look for OpenRouter's notice in the email on your account, and check OpenRouter's live list of provider announcements (openrouter.ai/blog, "Data Processing Incidents on Inference Providers").

Rotate (do this first)

  • Any API key, token or password that ever went into a prompt (pasted logs, .env files, config, stack traces): revoke it and make a new one. AWS: IAM › Users › Security credentials › deactivate, then delete the old access key; check CloudTrail for calls you didn't make.
  • Your AI provider keys too, if an agent could read them.

Pick your providers yourself (OpenRouter)

A privacy flag only binds the first company in the chain (Dragos). Instead of the cheapest default pool:

json
{
  "model": "...",
  "provider": {
    "only": ["<provider-slug-you-trust>"],
    "zdr": true,
    "data_collection": "deny",
    "allow_fallbacks": false
  }
}
  • only: the providers allowed for this request. zdr: true: only Zero Data Retention endpoints. data_collection: "deny": skip providers that store data. Account-wide ZDR and data settings are in OpenRouter's privacy settings.
  • Stay away from reseller marketplaces that sell the cheapest inference (Dragos found some capacity runs on stolen keys).
  • For the most sensitive work: go direct to a first-tier provider, or run the model yourself.

Set a tripwire

  • Put a free fake credential (a Canarytoken from canarytokens.org) in the context your agents and pipelines already send. If it's ever used, something in the chain read your prompts.

Keep secrets out of prompts

  • AI agents send whatever they can read, including credentials: keep .env and key files out of the agent's reach, and scrub keys from logs before pasting them. Turn on any setting that scrubs known credential formats.
  • Use scoped, short-lived keys where you can.

Sources