News · AI infrastructure security

OpenRouter's provider purge exposes the AI API key blind spot

Three inference providers off-boarded. 125 endpoints stripped of Zero Data Retention eligibility. A separate campaign using stolen AI API keys to hunt for more. The common failure is not model quality. It is credential and data-retention architecture.

Illustration of a glowing API key inside a vault, connected to a network of AI agent nodes
Illustration: API keys and inference providers as a trust boundary. Plugsky Newsroom.

OpenRouter off-boarded three inference providers and removed 125 endpoints from Zero Data Retention eligibility on 22 November 2026, after security researchers showed that prompts and credentials were leaking at upstream hosts. The router said the findings did not show a breach or unauthorized access of OpenRouter itself. It notified potentially affected customers and is requiring new assurances before restoring ZDR eligibility.

The same week, Amazon's threat intelligence team reported a separate campaign in which stolen AI API keys were used to run agents that hunted for more keys. The two stories are different, but they meet at the same control point: a bearer key that can spend money, call models and reach data, often with no per-agent identity and no clear retention boundary.

Short answer. If your application sent secrets in prompts to any affected route, rotate them now. Then fix the architecture: scoped keys per agent, spend caps, audit logs, and a written retention boundary that flows down to every upstream provider.

Key facts

What happened, as published on 21 to 23 November 2026
Router actionOpenRouter off-boarded three inference providers and removed 125 endpoints from Zero Data Retention eligibility on 22 November 2026.
TriggerDragos canary-token research into prompt handling at inference providers.
Confirmed reportsTogether AI reported prompt leakage from June and July 2026 requests. Phala reported exposure of DeepSeek V4 Flash 0731 request data between 21 October and 8 November 2026.
OpenRouter's positionNo breach or unauthorized access of OpenRouter was shown. Affected customers were notified. ZDR eligibility will be restored only after assurances and technical verification.
Separate agent campaignAmazon MadPot decoys recorded AI agents using stolen provider keys to find more exposed keys, from 3 October to late November 2026.
Developer survey25% of organizations run agents in production; about 40% have not settled how agents authenticate; 30% use the same credentials as other API clients.

What OpenRouter changed

OpenRouter is a routing layer. Customers send one request, and the service selects a model from a catalogue of providers. That design is convenient, but it means the router's data policy is only as strong as the weakest upstream that handles the request.

In its 22 November announcement, OpenRouter said it had worked with the researchers and providers, then took three actions: it off-boarded three providers, removed 125 endpoints from ZDR eligibility, and notified all potentially affected customers. Some removals were precautionary. The company said the findings "did not show any breach or unauthorized access of OpenRouter."

That sentence matters. A router can be technically secure and still route a customer's prompt to a provider that stores it, logs it, or loses it. The customer's contract is often with the router. The data is processed somewhere else.

What leaked, and where

Two providers published their own accounts. They are worth reading in full, because they show different failure modes.

Together AI: an AI coding agent exposed a repository credential

Together AI said it collected prompt samples for routine software testing and stored them in a private Hugging Face repository. The samples came from requests to MiniMax M3, GLM-5.2 and Kimi K2.6, primarily on 24 June, 4 July, 8 July and 14 July 2026.

While working on its public GitHub repository, an AI coding agent committed a credential that gave access to the private repository. Automated scanning caught the exposed credential and the commit was reverted. During the exposure window, an unauthorized party obtained the credential, downloaded the samples and searched them for credentials to other services. Five of the credentials tested were canaries from the Dragos experiment.

Together said it has not identified evidence of additional prompt leakage beyond this incident, that its review of the affected prompt contents is ongoing, and that zero data retention is now the default for new accounts. It also changed its development workflow to use scoped or short-lived credentials, check pull requests for secrets, and govern AI coding agents.

Phala: in-flight request data was visible

Phala's preliminary report describes a different path. An attacker chained a legacy internet-facing service with management interfaces that relied on loopback access for trust and did not independently authenticate callers. The attacker later took over a GPU server that was serving production traffic without full production hardening, which made in-flight request data visible.

The affected model was DeepSeek V4 Flash 0731, which OpenRouter routed to Phala. Phala told users to treat request contents as exposed for requests sent between 21 October 2026 at 00:00 UTC and 8 November 2026 at 05:35 UTC. It said canary misuse was confirmed only for requests sent on 21 and 22 October, but it kept the wider window as a precaution.

The recommended action is blunt: rotate every API key, token and password that appeared in those requests. That includes keys that were only pasted into code, logs or a prompt.

Illustration of an API key connected to three provider nodes, with one node disconnected
Illustration: one routing layer, three upstreams, one trust boundary. Plugsky Newsroom.

The second warning: agents that steal keys

Amazon's threat intelligence team captured a separate campaign with decoy servers in its MadPot network. The records describe AI agents scanning internet-exposed AI apps, extracting provider keys, verifying that the keys worked, and adding them to a shared pool. The targets named in the records include LLM gateways and proxies such as LiteLLM, One API, New API, Veloera and Sub2API, plus AI app builders such as Dify, FastGPT, Langflow, RAGFlow, Open WebUI and Ollama.

The agents looked for default administrator credentials, unfinished installs, unauthenticated management endpoints, secrets in client-side JavaScript, source maps, debug routes, environment files and public repositories. They prioritized apps that hold keys for many providers, because one weak admin page there can expose many accounts. Amazon said it has moderate confidence the agents ran on ARTEX, an open-source AI penetration-testing tool.

The FBI issued a FLASH alert about ARTEX activity. Cloudflare's incident responders separately described a compromised CI/CD token with no IP restrictions or rate limiting that was followed by 400 database dump requests in an hour. The common root cause was a static, broad credential that never expired.

The developer-side gap

Postman surveyed nearly 9,000 developers, architects and executives. A quarter of the organizations already had agents calling APIs in production. About four in ten had not worked out how credentials and identity should work for agents. Three in ten let agents log in with the same credentials as any other API client. Only 13.2% said their APIs were ready for agents to use.

That is the environment the attackers are operating in. The model is not the weak point. The key is.

A routing layer is a trust boundary

Multi-model routing solves a real problem: one API, many models, fallback when a provider degrades. It also creates three questions that a status page cannot answer.

  1. Who actually processes the request? The router may select a provider you did not name. The contract, the subprocessor list and the retention terms need to follow that selection.
  2. What is retained, where, and for how long? A ZDR label is a policy, not a proof. It needs technical verification and a contractual flow-down.
  3. What can a stolen key do? If one key can call every model, read every collection and spend without a cap, the blast radius is the whole account.

The OpenRouter action is a useful precedent: a router removed providers and withdrew ZDR eligibility rather than waiting for perfect attribution. Buyers should ask whether their own gateway would do the same, and how quickly they would be told.

The key-rotation checklist

Use this whether you route through a gateway, call providers directly, or run your own inference.

  1. Rotate first, investigate second. If a key appeared in a prompt, log, repository, notebook or support ticket sent to an affected route, replace it. Do not wait for confirmation that it was used.
  2. Give every agent its own identity. A shared key makes it impossible to revoke one agent without breaking the others, and impossible to attribute misuse.
  3. Scope by model, endpoint and environment. A production key should not be able to call every model or read every collection. Separate development, staging and production.
  4. Set spend and rate limits per key. A cap turns a stolen key into a bounded incident instead of an overnight bill.
  5. Log key use and alert on anomalies. Watch for new models, new regions, sudden token growth, repeated 401s and calls from unexpected networks.
  6. Remove secrets from prompts and code. Scan repositories, container images, notebooks and CI/CD variables. Check pull requests, not just the default branch.
  7. Put retention in the contract. Ask for the subprocessor list, the retention period, the deletion path and the incident-notification window. A ZDR badge without a contract is marketing.
  8. Verify the upstream path. If your gateway routes to third parties, ask how it verifies that requests and responses are not forwarded again.
  9. Test revocation. Revoke a key in staging and confirm that the agent, the dashboard and the billing pipeline all stop.
  10. Plan for retirement. Only 9% of surveyed organizations had a process for retiring an agent. An agent with no off-switch is an unmanaged credential.

What Plugsky does, and what it does not claim

Plugsky sells API access, so it competes with routers and providers named in this story. That is a conflict of interest, and we are disclosing it. This article was reported from published primary sources, not from a Plugsky incident review.

Plugsky's documented controls include per-key API access, RBAC and SSO, audit-log export, spend controls, BYOK, and private VPC, on-premises or air-gapped deployment by contract. The platform publishes 39 model IDs behind one OpenAI-compatible endpoint and flat monthly plans. Teams that need a stricter boundary can move inference into infrastructure they control rather than relying on a shared multi-tenant route.

What Plugsky does not claim here: a blanket Zero Data Retention certification, a certification that prevents prompt leakage, or an incident-free record. No provider can honestly guarantee that a bearer key will never be stolen. The useful question is what the key can reach and how fast it can be revoked. See Security, spend controls, SSO and SAML, BYOK and private VPC AI.

What to ask any AI gateway

Procurement questions after the November 2026 provider incidents
QuestionWhy it mattersEvidence to request
Which upstream providers can process my request?The router's policy is not the upstream's policy.Current subprocessor list, model-to-provider map, change-notice terms.
Is Zero Data Retention contractual or a label?ZDR eligibility can be withdrawn after an incident.DPA language, retention schedule, deletion evidence, audit rights.
Can I scope a key to one model or one collection?Limits the blast radius of a stolen key.Key-scope documentation, RBAC matrix, test results.
What spend and rate limits apply per key?Stops a stolen key from becoming an unlimited bill.Cap configuration, alerting, kill-switch procedure.
What do logs contain, and where are they stored?Prompts can contain secrets and personal data.Log schema, retention, region, export and deletion controls.
How fast can you revoke a key and notify me?Incident response is measured in minutes.Runbook, notification SLA, named security contact.

What we did not verify

We did not review OpenRouter's internal systems, Together AI's forensic evidence, Phala's full root-cause analysis, Amazon's decoy records or any customer's account. We did not test a Plugsky incident response or audit a customer's key configuration. The dates, quotes and figures above are attributed to the published sources below. Where a source says an investigation is ongoing, that limitation is part of the story.

We also did not confirm that every affected provider has published a report. OpenRouter said not all affected providers have posted publicly, and that it notified affected users regardless.

Frequently asked questions

Did OpenRouter get breached?

OpenRouter says the findings did not show any breach or unauthorized access of OpenRouter. The incidents involved data handling at upstream inference providers. That distinction matters for attribution, but not for a customer whose prompt or key was exposed.

Which keys should I rotate?

Any API key, token or password that appeared in a request to DeepSeek V4 Flash 0731 through OpenRouter between 21 October and 8 November 2026, or in requests to MiniMax M3, GLM-5.2 or Kimi K2.6 at Together AI in June or July 2026. If you are unsure, rotate the keys used by the affected application and review the accounts for unexpected usage.

Is Zero Data Retention enough?

No. ZDR is a retention policy. It does not replace scoped keys, spend caps, audit logs, subprocessor review or a contractual deletion path. Ask for evidence that the policy is enforced on every upstream that can process the request.

Does Plugsky offer Zero Data Retention?

Plugsky does not make a blanket ZDR certification claim in this article. Retention, deletion and subprocessor terms are contract-led. Teams that need a stricter boundary can ask about private VPC, on-premises or air-gapped deployment.

Did Plugsky have an incident?

This article makes no claim about a Plugsky incident. It reports published incidents at OpenRouter, Together AI and Phala, and Amazon's agent campaign. Plugsky's security documentation is linked for buyers who want to evaluate its controls.

Is this story sponsored?

No. Plugsky is an AI API provider and competes with some companies mentioned, which we disclose above. The article is based on published primary sources and does not contain paid placement or a customer endorsement.

Sources

Cite this page

Plugsky Newsroom (2026). “OpenRouter's Provider Purge Exposes the AI API Key Blind Spot.” Plugsky News, 23 November 2026. https://plugsky.com/news/openrouter-provider-purge-ai-api-key-risk-2026