Skip to main content
Back to News
news/AI Infrastructure

AI Routers Leak Prompts and Cloud Keys Across the Chain

Two million canary secrets sent through AI routers exposed three provider breaches, reseller prompt theft and ignored zero-retention flags, researchers found.

Stefan Trbojevic

Stefan Trbojevic

21 November 20263 min read
LinkedIn
Abstract cracked glass cube leaking red light over dark server racks

The takeaway

Prompts routed through AI gateways and resellers should be treated as logged by default: three providers were compromised, resellers kept customer prompts, and zero-retention flags were widely ignored.

Why it matters for builders

Never put credentials or internal URLs inside a prompt, reference secrets at runtime, and pin the upstream provider instead of letting a marketplace or default pool choose one.

AI Routers Leak Prompts and Cloud Keys Across the Chain

HD Moore, chief research officer at security firm Dragos, wanted to know what actually happens to a prompt after it leaves your application. So he built two million of them, each carrying a unique secret that no legitimate system would ever touch, and pushed them through the AI routers, marketplaces and resellers that sit between an app and a model. Between July and November he watched where those secrets surfaced. The answer, published on the Dragos blog, is that a large part of the inference supply chain treats prompts as its own data.

What happened

The canaries were AWS access keys tied to empty accounts, SSH passwords, unique URLs, DNS names and private git repository references. Each secret appeared in exactly one prompt, sent to one provider. If it got reused, Moore would know the exact hop that leaked it.

Three of the findings are hard to read. At least three AI providers show evidence of compromise, and stolen keys were reused tens of thousands of times in AWS API calls against the researchers' canary accounts. Some of those keys came from requests the provider rejected before a model ran, so the attacker was copying at the front door. Several stolen requests were marked Zero Data Retention.

Separately, multiple resellers on an inference marketplace logged customer prompts, and in some cases the resellers themselves used the credentials.

The clearest policy failure involved a Chinese AI lab whose systems fetched secret URLs from more than half the prompts sent to its models between July and October, including roughly two-thirds of requests explicitly marked "no data collection" or Zero Data Retention. The scraper usually arrived two or three days after the request. US resellers of that lab's models triggered the same scraper.

AI inference infrastructure corridor

Why it matters

If your agent stack calls a router or gateway instead of a first-party API, assume the prompt is logged somewhere you do not control. Moore's advice is blunt: self-host if you can, otherwise buy directly from a first-tier provider with one contract and one privacy policy, and never accept a default provider or reseller pool. Zero retention is a contract term, not a technical control, and it cannot protect you from a compromised host.

OpenAI's revised usage policies, effective November 20, now require prior review and approval for any intermediary that gives third parties direct access to its models, and ban using OpenAI outputs to build training data for substitute models. OpenAI published no application form, criteria or review timeline alongside the change.

The practical rules: never put credentials, tokens or internal URLs inside a prompt, reference secrets at runtime instead, and pin the upstream provider rather than letting a marketplace choose.

Full methodology in Moore's writeup and Ars Technica's report.

Share𝕏

The Automation Brief

Read 5 AI stories instead of 50.

The essential moves in AI agents, models, automation and infrastructure — filtered for builders and operators, with the part that actually matters.

No noise. Unsubscribe anytime.

Editorial notes

Reported by

Stefan Trbojevic

Edited by

n8n Lab Editorial

Published

21 November 2026

Updated

21 November 2026

AI disclosure: AI assisted with research and drafting. Factual claims are reviewed by an editor.

n8n Lab is an independent service provider. We are not affiliated with, endorsed by, or sponsored by n8n GmbH. “n8n” is a trademark of n8n GmbH and is used here only to describe the platform-specific implementation and automation services we provide.