Prompt leakage at inference providers: OpenRouter removes three services and 125 endpoints
Image generated by the Inferama Editorial Team
01

The incident: exfiltration at the provider layer

Security researchers at Dragos identified that three inference providers connected to the OpenRouter platform allowed the extraction of user data over several months. The findings did not indicate a breach of OpenRouter's infrastructure but rather failures in data management by the providers processing the requests.

OpenRouter confirmed on November 22, 2026, that it collaborated with the researchers and providers to understand the findings. As an immediate measure, the platform removed three providers from its ecosystem and eliminated 125 endpoints from eligibility for the zero-data-retention (ZDR) policy. Additionally, it notified all potentially affected customers about the incident.

The distinction between a platform breach and provider-level failures is critical for understanding the scope of the incident. OpenRouter's infrastructure remained intact, meaning the core routing and authentication systems were not compromised. The vulnerability lay in the downstream services that processed the inference requests, highlighting a gap in the supply chain where data handling practices diverged from the platform's security standards.

02

Technical mechanics of the exposure

Dragos's research used approximately two million test requests containing fake credentials, known as canary tokens, to track data flow. The results showed that attackers could steal credentials and keys without detection for prolonged periods, exploiting vulnerabilities in low-cost inference providers.

In the case of Together AI, the exposure resulted from a leaked credential in a public code repository that granted access to a private repository where prompt samples were stored. At Phala, an attacker chained a legacy internet-facing service with management interfaces that relied on loopback access for trust, allowing the creation of unauthorized virtual machines and the acquisition of application credentials.

The use of canary tokens allowed researchers to map the precise pathways through which sensitive data flowed. By injecting unique, traceable credentials into the test requests, the team could identify exactly which providers retained or exposed the information. This method provided concrete evidence of data leakage that would otherwise have remained invisible in standard logging, revealing the extent of the exposure over several months.

Summary of incidents by provider

ProviderPrimary causeExposure windowAffected models
Together AICredential exposed in public repositoryJune and July 2026MiniMax M3, GLM-5.2, Kimi K2.6
PhalaUnauthorized access to management interfacesOctober 21 to November 8, 2026DeepSeek V4 Flash 0731
NovitaPrivacy policy failure (per OpenRouter announcement)Not specified in primary sourcesMiniMax
03

The failure of zero retention in practice

The zero-data-retention (ZDR) policy promises that providers do not store user prompts or responses. However, the research revealed that this setting was frequently ignored. In some cases, providers accessed secret test URLs even when requests were sent through US-based providers.

OpenRouter documents that ZDR is a setting users can enable to exclude their data from provider retention. Nevertheless, the effectiveness of this measure depends on the provider's compliance with the policy. OpenRouter's removal of 125 endpoints from ZDR eligibility reflects the need for continuous technical verification of network paths to ensure data is not forwarded to third parties.

The discovery that providers accessed secret test URLs despite ZDR settings being enabled illustrates a fundamental limitation of self-reported compliance. Users cannot rely solely on interface toggles to ensure data privacy; the actual network behavior must be verified independently. This incident demonstrates that a configuration setting is only as secure as the technical implementation behind it, necessitating continuous monitoring of data flow paths.

04

Response from OpenRouter and providers

OpenRouter has implemented measures to adapt the researchers' testing approach and run these checks on an ongoing basis. The company is also conducting technical verification of network paths to identify instances where requests and responses may be forwarded to third parties. Before restoring ZDR eligibility for any endpoint, appropriate assurances and validations are required.

Together AI has strengthened its development controls, using short-lived credentials and reviewing all code extraction requests for credentials. Phala contained the incident, rotated the root key of its key management system (KMS), and restored the affected service with additional protections. The company warns that the investigation remains active and that it will publish a full root cause analysis.

The ongoing verification of network paths by OpenRouter represents a shift from static policy enforcement to dynamic technical assurance. By continuously testing the routes that requests take, the platform aims to detect any unauthorized forwarding of data to third parties in real time. This proactive approach is essential for restoring confidence in the ZDR policy and ensuring that future endpoints meet rigorous security standards before being re-enabled.

05

Implications for users and businesses

For organizations relying on third-party AI APIs, this incident underscores the importance of controlling request routing. Intermediaries and model marketplaces can read complete requests at each hop in the supply chain. Companies are advised to verify their privacy settings and consider using their own canary tokens to detect data leaks.

Users who sent requests containing credentials or sensitive information to the affected models during the exposure windows should rotate their API keys, tokens, and passwords. Phala recommends treating any credential included in DeepSeek V4 Flash 0731 requests between October 21 and November 8, 2026, as compromised, given that canary tests did not cover all possible requests.

The recommendation to rotate credentials is based on the principle that any data sent during the exposure windows should be considered compromised. Since canary tests cannot cover every possible request, organizations must assume that sensitive information included in those requests may have been accessed by unauthorized parties. This precautionary approach minimizes the risk of long-term security breaches and protects associated accounts from potential misuse.

Recommended steps to assess impact

  1. 01Identify if requests sent to affected providers contain credentials or sensitive data.
  2. 02Review activity logs to determine if requests fell within the reported exposure windows.
  3. 03Rotate all API keys, tokens, and passwords included in affected requests.
  4. 04Review accounts associated with those credentials for unauthorized activity.
  5. 05Enable zero-data-retention (ZDR) in account settings for future requests.
06

Keep exploring

Sources consulted

03

Corrections and transparency

If you spot incorrect or outdated information, send us a correction with the page and source we should review.

Submit a correction