Security

What Dragos Found Auditing AI Inference ZDR Security: OpenRouter Cuts 3 Providers and 125 Endpoints

Between July and November 2026, Dragos researchers seeded roughly two million prompts with unique canary tokens and URLs to audit how AI inference routers handle Zero Data Retention (ZDR) traffic. On November 22, 2026, OpenRouter announced it had off-boarded three providers and removed 125 endpoints from ZDR eligibility while integrating ongoing canary checks. Here is how the trust boundary broke down—and the defensive controls engineering teams can deploy now.

By 0xScorPionSon

10 min read

What Dragos Found Auditing AI Inference ZDR Security: OpenRouter Cuts 3 Providers and 125 Endpoints

AI Inference ZDR Security audit architecture showing Canary Token Seeder, AI Inference Router, ZDR Hop Boundary, Hidden Reseller Hop, and First-Tier Vault

Executive Summary

  • Core Defensive Finding: A five-month empirical audit by Dragos (July–November 2026) using roughly two million canary-seeded prompts demonstrated that Zero Data Retention (ZDR) flags on AI inference routers only bind the first hop and fail to guarantee isolation across downstream resellers, undisclosed sub-routers, or compromised provider infrastructure.
  • Ecosystem Impact (November 22, 2026): Following the research disclosure, OpenRouter off-boarded three inference providers, removed 125 endpoints from ZDR eligibility, notified potentially affected customers, and began integrating ongoing canary-token and network-path verification.
  • Confirmed Provider Notices: Both Together AI and Phala published incident notices detailing separate prompt-exposure paths—a coding-agent credential commit in Together AI's case (June–July 2026 samples) and an unauthenticated management interface on a Phala GPU server serving DeepSeek V4 Flash 0731 (October 21–November 8, 2026).
  • Primary Architectural Trade-Off: Multi-provider AI routers reduce integration overhead and token costs, but introduce opaque multi-hop forwarding where even strict privacy flags cannot protect secrets embedded in prompts unless teams enforce explicit provider pinning, secret scrubbing, and continuous canary verification.

When engineering teams send source code, internal logs, or API keys through a third-party LLM router, they typically rely on a single boolean guarantee: Zero Data Retention (ZDR). The assumption is straightforward—if ZDR is enabled at the account, key, or per-request level, neither the router nor the underlying model host stores the prompt or response.

Between July and November 2026, Dragos Chief Research Officer HD Moore and his team tested that assumption empirically across major AI services and inference marketplaces. Their findings, published November 19–20, 2026, and acted upon by OpenRouter on November 22, 2026, expose a structural gap in how inference routing enforces trust boundaries.


Trust Model and Architecture: Why ZDR Breaks Across Router Hops

In a direct first-tier API integration, the trust boundary is a single hop: your application sends TLS-encrypted JSON over HTTPS to one vendor's endpoint, governed by one privacy policy and one security perimeter. AI inference routers—which expose a unified API across dozens of model families and hundreds of compute hosts—replace that single hop with a dynamic routing graph.

As Dragos documented, a request sent to an AI router frequently traverses multiple intermediaries before reaching the GPU cluster executing the forward pass. Every intermediate hop decrypts the HTTP payload to inspect headers, apply rate limits, count tokens, or select a lower-cost upstream seller.

flowchart LR
    App["Client App / AI Agent<br/>(ZDR Flag Enabled)"] -->|"TLS Hop 1"| Router["AI Inference Router<br/>(Honors ZDR Locally)"]
    Router -->|"Hop 2: Pinned First-Tier"| Vault["First-Tier Host<br/>(Single Policy Boundary)"]
    Router -->|"Hop 2: Default Pool"| SubRouter["Undisclosed Sub-Router<br/>or Marketplace Reseller"]
    SubRouter -->|"Hop 3: Unverified"| Compromised["Compromised Host /<br/>Logged Seller Endpoint"]
    Compromised -.->|"Canary Triggered"| Attacker["External Scraper /<br/>Credential Testing"]

How Dragos Mapped Hidden Hops ("AI Traceroute")

Because routers typically report only a single immediate upstream provider—or none at all—canary alerts alone prove that a prompt leaked, not where in the supply chain the leak occurred. To map the full path, Dragos built two passive-and-active tracing mechanisms:

  1. Image-Fetch Telemetry: Embedding unique server-controlled image URLs inside requests so any intermediate system that fetches the URL reveals its egress IP address, HTTP client signature, and exact timestamp.
  2. Error-Envelope Fingerprinting: Sending slightly malformed requests that force each downstream hop to wrap the upstream error in its own serialization format. A single response often contained three or four nested error "envelopes," allowing Dragos to match each layer against a signature database of routing software and operators.

Across roughly 2,000 traced routes, several hundred traversed systems Dragos could not identify, and a subset transmitted image URLs to organizations completely absent from the advertised routing path. In marketplace environments, Dragos also observed hidden middleware layers—including one reseller quietly injecting roughly 1,000 hidden tokens into every prompt and another fetching images through a shared consumer subscription account.


What Researchers and Providers Disclosed

Dragos seeded approximately two million prompts between July and November 2026 using Thinkst Canarytokens initially and later a custom seeding service that generated unique hostnames, URLs, SSH/Git/database endpoints, and live AWS keys tied to empty, heavily logged accounts. Every seeded artifact mapped deterministically back to the exact prompt, router, model, and privacy setting used.

Researchers categorized the observed failures into three distinct patterns:

1. Active Adversary Compromises at Three Hosting Providers

Dragos observed attackers actively exfiltrating prompt data from three separate hosting providers, with the earliest incident dating back to mid-July 2026. None of the three providers were aware of the intrusion until Dragos notified them.

  • Front-Door Exfiltration: In the largest incident, Dragos seeded a couple hundred AWS keys in single requests within narrow windows in late October; every request sent during those windows was stolen—including keys from requests rejected before a model ever ran, indicating interception at the provider's ingress layer rather than inside the inference worker.
  • ZDR Bypassed by Breach: In the other two compromises, stolen requests explicitly carried ZDR flags, demonstrating that policy flags offer zero protection when an attacker already holds access inside the host.
  • Post-Exfiltration Tooling: Attackers tested stolen AWS keys within hours (generating tens of thousands of AWS API calls probing S3 buckets, Secrets Manager, Parameter Store, and AWS Bedrock IAM creation). Dragos observed tooling shift from Python Boto3 in OrbStack to aws-cli on Kali Linux, and on November 1, 2026, to ARTEX—an LLM-driven penetration testing framework emitting artex-agent and artex-judge-r121 user agents.

2. Marketplace Resellers Logging Prompts Without Exploits

On open inference marketplaces where sellers compete on lowest price—sometimes subsidizing below-cost inference with unmetered consumer subscriptions or stolen cloud credits—Dragos caught resellers harvesting customer prompts simply by enabling standard request logging. Within roughly 36 hours of sending two seeded prompts through one seller, an operator on a home broadband line opened the secret URLs and attempted logins; in another case, a Mac on French residential broadband manually tested SSH root passwords extracted from two prompts.

3. Ignored Retention Policies and Cross-Border Forwarding

Dragos also documented repeated policy violations where no credential theft occurred, but secret URLs and private Git repository references were crawled days or months after inference:

  • A Chinese AI lab's scrapers fetched secret URLs from more than half of prompts sent to its models between July and October—including roughly two-thirds of requests marked "no data collection" or ZDR—even when customers routed through U.S.-based hosting providers reselling those models.
  • Twenty-four days after a prompt was sent to a U.S.-based provider with ZDR enabled, the full secret URL was posted in a Feishu (Lark) channel and opened from desktops and phones in Beijing and Shanghai within two minutes.
  • Large U.S. providers were not immune: one continued crawling a secret URL more than two months after a single search-endpoint inference call.

OpenRouter, Together AI, and Phala Responses (November 2026)

Entity Disclosure Date Scope & Root Cause Defensive Action Taken
OpenRouter Nov 22, 2026 Confirmed no breach of OpenRouter itself; upstream provider policy/security failures Off-boarded 3 providers; removed 125 endpoints from ZDR eligibility; notified affected users; adopting ongoing canary testing
Together AI Nov 21, 2026 AI coding agent committed a credential to public GitHub repo xorl, exposing June–July 2026 prompt samples (MiniMax M3, GLM-5.2, Kimi K2.6) in a private Hugging Face repo Commit reverted; ZDR made default for new accounts; reviewing affected prompt contents (5 Dragos canary credentials were tested)
Phala Nov 10, 2026 Attacker pivoted via legacy internet-facing service to unauthenticated management interfaces on a new GPU server serving DeepSeek V4 Flash 0731 (Oct 21–Nov 8, 2026) Advised customers who sent requests in that window via OpenRouter to treat contents as exposed and rotate credentials

Confidence note: Neither Dragos nor OpenRouter has publicly named all three off-boarded providers as of November 23, 2026. OpenRouter maintains a live list of provider notices (Atlas Cloud, Novita, Phala, and Together AI) and stated it notified affected customers directly regardless of whether a provider published a write-up.


Hardening and Implementation Blueprint

Stopping prompt-borne credential exposure requires treating external inference endpoints as untrusted network boundaries, even when ZDR is enabled. Based on the Dragos recommendations and provider post-mortems, security and platform teams should layer four defensive controls:

1. Enforce Explicit Provider Pinning and ZDR-Only Routing

Never let an AI router select the cheapest default pool for sensitive workloads. When using OpenRouter or similar gateways, pin explicit vetted providers, disable fallback routing to unpinned hosts, and require ZDR at the request level:

{
  "model": "deepseek/deepseek-chat",
  "provider": {
    "only": ["first-tier-vetted-provider"],
    "allow_fallbacks": false,
    "data_collection": "deny"
  }
}

Avoid anonymous or crypto-only reseller marketplaces entirely; as Dragos noted, below-market token pricing is a primary indicator of either unauthorized account pooling or data-monetization logging.

2. Scrub Secrets Before Prompts Leave Your Perimeter

AI coding agents routinely read .env files, terminal history, and CI logs into context. Deploy client-side secret scanning (regex + entropy detectors such as gitleaks or trufflehog pre-flight hooks) in your LLM gateway proxy so AWS keys, GitHub tokens, and private URLs are redacted before serialization. Treat any key ever pasted into a prompt to DeepSeek V4 Flash 0731 (Oct 21–Nov 8, 2026) or Together AI's affected models (June–July 2026) as compromised and rotate it immediately.

3. Seed Your Own Continuous Canary Tokens

Following OpenRouter's own post-incident roadmap, engineering teams running high-volume agent pipelines can embed low-noise canary credentials (such as a free Thinkst Canarytoken AWS key or unique DNS subdomain) inside non-production or synthetic agent test runs routed through their production LLM stack. Alert immediately in SIEM/CloudTrail on any GetCallerIdentity, ListBuckets, or DNS lookup targeting those seeds—and add Dragos's observed artex-agent and artex-judge-r121 user-agent strings to detection rules.

4. Evaluate Self-Hosting vs. First-Tier Direct Contracts

For workloads where prompt confidentiality cannot tolerate any third-party hop, Dragos outlined the capital trade-offs of self-hosting local weights (prices cited in Dragos's November 19, 2026 analysis):

Deployment Tier Hardware / Contract Example Exposure Profile Capital / Operational Trade-Off
Self-Hosted (Workstation) Mac Studio (512 GB) at $22,299; NVIDIA DGX Spark at $6,950 Zero third-party prompt egress Limited to quantized / mid-size models; local power & maintenance
Self-Hosted (Cluster) DGX Station (~$105,000); 8-GPU B300 server ($570,000+) Zero third-party prompt egress High CapEx; requires dedicated ML infra & patching
Direct First-Tier API Single contract directly with frontier lab Single vendor policy & breach surface Higher token cost; no multi-model router fallback
Multi-Hop AI Router Default marketplace / unpinned pool Multi-hop exposure; ZDR binds Hop 1 only Lowest friction & cost; requires strict only pinning + scrubbing

Frequently Asked Questions

1. Was OpenRouter itself breached in the November 2026 incidents?

No. OpenRouter stated in its November 22, 2026 announcement that the Dragos findings did not show any breach or unauthorized access of OpenRouter's own platform. The exposures occurred at upstream inference providers and resellers.

2. Does enabling Zero Data Retention (ZDR) prevent prompt leakage on AI routers?

No. As Dragos demonstrated across two million seeded prompts, a ZDR flag only binds the first hop you communicate with. If an upstream provider is compromised at its ingress layer, forwards traffic to an undisclosed sub-router, or ignores retention headers, ZDR cannot stop the data from being copied or logged.

3. Which users need to rotate API keys and credentials right now?

According to Notebookcheck's summary of the provider notices, anyone who routed requests to DeepSeek V4 Flash 0731 via OpenRouter/Phala between October 21 (00:00 UTC) and November 8 (05:35 UTC), 2026, or sent requests to MiniMax M3, GLM-5.2, or Kimi K2.6 at Together AI in June–July 2026, should rotate any API keys, tokens, or passwords included in those prompts and audit account logs. OpenRouter has also directly notified customers affected by the three off-boarded providers.

4. How did Dragos trace hidden hops behind an AI router?

Dragos combined unique image-fetch URLs (which log the fetching server's IP, HTTP client, and timestamp) with slightly malformed requests that triggered nested error "envelopes" from each intermediary in the chain, matching those envelopes against a signature database across roughly 2,000 traced routes.

5. What is the single highest-leverage defense for teams using AI coding agents?

Never allow agents to send raw credentials in prompts, and never use default unpinned router pools for sensitive repositories. Combine pre-flight secret redaction in your proxy with explicit only provider pinning (allow_fallbacks: false), and seed canary tokens to detect silent upstream leaks.


Sources

  1. Dragos (Primary Research Report) — Three breaches, endless leaks: Your AI supply chain needs canaries by HD Moore: https://www.dragos.com/blog/ai-supply-chain-security-canary-tokens (Published November 19, 2026; updated November 20, 2026)
  2. OpenRouter (Primary Vendor Announcement) — Data Processing Incidents on Inference Providers: https://openrouter.ai/blog/announcements/data-processing-incidents-on-inference-providers/ (Published November 22, 2026)
  3. Notebookcheck (Secondary Incident Synthesis) — OpenRouter cuts three AI providers: Who needs to rotate API keys now (covering Together AI Nov 21 notice and Phala Nov 10 preliminary report): https://www.notebookcheck.net/OpenRouter-cuts-three-AI-providers-Who-needs-to-rotate-API-keys-now.1457670.0.html (Published November 23, 2026)
  4. Rescana (Secondary Timeline & Source Index) — Dragos Canary Tokens Expose Compromised AI Inference Providers: https://www.rescana.com/post/dragos-canary-tokens-compromised-ai-inference-providers-what-ai-router-customers-should-do-now (Published November 22, 2026)

More on Security

Security

Inside Anthropic's Zero Trust Model for AI Agents: Tiers, Controls, and Analyst Trade-Offs

Anthropic's 36-page Zero Trust for AI Agents framework adapts NIST SP 800-207 for autonomous systems that invoke tools, hold memory, and coordinate across sessions. Independent security analysts at Safeguard and Permit.io recently mapped its three tiers and nine control families against real infrastructure boundaries. Here is how the "impossible versus tedious" test reshapes agent identity, sandboxing, and MCP authorization.

9 min read

Security

Spring Security CVE-2026-59273: How DataBinder Auto-Discovery Turns ELRequestMatcher Into SpEL RCE

On November 19, 2026, the Spring team disclosed CVE-2026-59273, a critical remote code execution flaw in Spring Security's ELRequestMatcher caused by unrestricted SpEL evaluation and PropertyEditor auto-discovery, alongside five companion vulnerabilities including two rated CVSS 4.0 9.1. Open-source fixes ship in 7.1.3 and 7.0.9, while older EOL branches receive no public updates. Here is how the binding chain works and how to audit your Java apps.

6 min read

Tell us what is not working

A thirty-minute call, no deck and no obligation. You will leave with a straight answer about whether this is worth building - including if that answer is no.

Start a project

Direct line

hello@codebumble.net
Dhaka, Bangladesh  :   local timeCalls in English or Bangla