OpenRouter has removed three third-party artificial intelligence inference providers from its routing platform after security researchers uncovered prolonged data exfiltration from inside the host environments. Threat actors systematically siphoned user requests and model interactions for months across all three provider infrastructures, remaining entirely undetected by the host operators until external notification prompted remediation.

Compounding the severity of the exfiltration, investigators confirmed that a portion of the intercepted traffic carried the Zero Data Retention (ZDR) privacy designation. Designed to assure enterprise and developer clients that sensitive queries are processed transiently in memory without persistent storage or logging, the compromised ZDR streams demonstrate a significant failure of confidentiality boundaries within downstream hosting infrastructures.

Incident Overview and Discovery Timeline

The unauthorized data collection operated covertly over an extended observation window. According to telemetry and analysis shared with the affected entities, malicious actors established persistent access inside the environments of three separate infrastructure partners providing model execution services through the OpenRouter aggregator. Throughout the intrusion lifecycle, none of the three hosting firms identified anomalies, unauthorized process activity, or data egress on their own systems.

The activity was brought to light only after researchers identified the exfiltration pathways and alerted the involved entities. Upon confirmation of the unauthorized data access, OpenRouter acted to sever routing connections to the three compromised providers, preventing further client queries from dispatching to the vulnerable endpoints.

Technical Context: The AI Inference Supply Chain

AI routing gateways and aggregators serve as intermediaries between software applications and upstream model compute clusters. In a standard architecture, user requests—including API keys, prompt contexts, system instructions, and generation parameters—are forwarded dynamically to specialized hosting providers based on latency, price, and model availability.

This distributed architecture relies on strict security controls at each hop in the processing chain:

  • Transport Security: Encryption in transit between clients, gateway aggregators, and backend model execution nodes.
  • Tenant Isolation: Strict workload sandboxing preventing cross-tenant memory reading or unauthorized tapping of runtime query buffers.
  • Enforcement of Data Retention Policies: Operational pipelines that honor client parameters such as Zero Data Retention by bypassing write queues, disk persistence, and telemetry logs.

In this incident, attackers bypassed or operated within the internal trust perimeter of the hosting providers, intercepting the input streams prior to or during runtime evaluation. Because the threat actors maintained visibility inside the host networks, privacy tags applied upstream at the gateway level failed to protect data once queries entered the compromised environments.

Compromise of Zero Data Retention Guarantees

Enterprise adoption of third-party AI APIs often hinges on contractual and technical Zero Data Retention commitments. Under ZDR agreements, inference providers agree to process incoming prompts in ephemeral compute instances, explicitly disabling disk caching, training-data harvesting, administrative telemetry retention, and error logging.

The discovery that threat actors exfiltrated requests flagged as Zero Data Retention underscores the inherent limitations of software-defined policy flags when host operating environments are compromised. While the gateway correctly tagged and routed the packets according to customer policy, the presence of hostile actors inside provider clusters allowed direct inspection of memory spaces, raw network interfaces, or intermediary proxy layers before non-persistence instructions could restrict data handling.

Affected Deployments and Exposure Scope

Organizations and developers that routed generative AI queries through the three affected providers during the period of active compromise face potential confidentiality exposure. Given the nature of LLM API usage, compromised prompt data frequently encompasses high-risk corporate and technical artifacts:

  • Proprietary Source Code: Code snippets submitted for refactoring, debugging, or automated security reviews.
  • Proprietary Enterprise Documents: Internal memos, drafts, strategic planning notes, and financial reports submitted for summarization.
  • Structured PII and PHI: End-user data embedded in workflow automation contexts and customer support pipelines.
  • Embedded Credentials: Accidentally pasted API secrets, tokens, and internal server endpoints included within prompt payloads.

Because downstream inference hosts received decrypted payloads to generate completions, any unencrypted or unsanitized sensitive information within prompt buffers was exposed to the adversary's collection mechanism.

Operational Response and Immediate Actions

Following verification of the research findings, initial response efforts focused on containment and boundary re-establishment across the aggregator ecosystem:

  • Provider Revocation: OpenRouter immediately disabled routing tables pointing to the three affected infrastructure hosts, cutting off fresh traffic feeds.
  • Access Boundary Review: Upstream platform engineers initiated audits of credential handling, API key regeneration requirements, and provider compliance monitoring mechanisms.
  • Downstream Forensic Scrutiny: Investigations commenced within the impacted hosting organizations to isolate exfiltration channels and trace initial points of ingress.

Practical Defense and Enterprise Mitigation

Organizations utilizing multi-provider AI aggregators and third-party inference backends should implement layered defensive controls rather than relying entirely on provider-level data policy assertions:

1. Prompt Sanitization and Token Redaction

Deploy client-side interceptors that scrub proprietary assets, internal IP addresses, user credentials, and personally identifiable information (PII) before requests depart enterprise network boundaries. If high-value source code or corporate secrets are strictly filtered, intercepted prompt traffic yields limited utility to adversaries.

2. Gateway Routing Governance

Enforce strict provider whitelisting within aggregator configurations. Organizations with rigorous compliance mandates should disable automatic dynamic fallbacks to unvetted or low-tier third-party inference nodes, restricting traffic solely to dedicated, audited host environments with verifiable isolation records.

3. Credential and Secret Invalidation

Teams that routinely leverage AI developer tools should conduct forensic scans of historical prompt logs. If engineering teams inadvertently processed code containing embedded authentication keys, database connection strings, or cloud tokens through the service during the exposure window, those credentials must be treated as compromised and immediately rotated.

What Remains Unknown

Significant aspects of the multi-month intrusion remain unconfirmed in public disclosures:

  • Specific Provider Identifiers: Public notices have not named the three underlying hosting firms that experienced the undetected intrusions.
  • Attribution and Actor Motivation: The identity, geographic nexus, and broader objectives of the threat actor group responsible for the systematic prompt exfiltration have not been disclosed.
  • Initial Ingress Vector: It remains unconfirmed whether the adversary gained access via compromised administrative credentials, vulnerable container infrastructure, unpatched edge devices, or internal supply chain channels.
  • Total Volume of Compromised Records: The exact quantity of customer prompts exfiltrated and the comprehensive roster of impacted downstream organizations have not been quantified.

As security assessments across the affected hosting environments proceed, organizations relying on external model infrastructure must account for runtime inference environments as high-value targets in enterprise supply-chain risk assessments.