AI · Playbook

The prompt egress audit: know every system that can read your prompts before someone else does

Dragos pushed two million bait prompts through AI routers over five months and watched hundreds of planted credentials get used by strangers — some within hours, some on requests explicitly flagged for zero retention. The reason it worked is that almost nobody can draw the path a prompt actually takes. The path inventory, five facts per path, the vendor email verbatim, the rotation order, three contract clauses, a one-prompt canary, five numbers to track, four ways it breaks, and a 30-minute version for Monday.

N Noah · The Sharp Brief · November 22, 2026 · 12 min read

On November 19 the industrial-security firm Dragos published the results of a five-month experiment: about two million bait prompts pushed through commercial AI routers, each carrying a unique, single-use credential. Hundreds of those credentials were later used by people who were never supposed to see them. Three hosting providers turned out to have intruders inside. Marketplace resellers were retaining prompts using nothing more exotic than ordinary request logging. Requests explicitly flagged for zero retention were among those taken.

The useful lesson is not “AI vendors are unsafe.” It is narrower and more actionable: most organisations cannot draw the actual path a prompt takes, and a retention promise made by the first company in that path says nothing about the fourth. Dragos traced roughly 2,000 routes and found several hundred passing through a system it could not identify at all.

This playbook builds the map. It takes a couple of hours for a small team, a day for a large one, and it produces four artefacts: a path inventory, a verified fact sheet per path, a credential rotation list, and three contract clauses. There is a 30-minute version at the bottom if that is all you have.

Our take: The single highest-value output here is not the inventory. It is the list of credentials that have ever appeared inside a prompt. Every API key, connection string, internal URL and access token that someone pasted into a chat window or that an agent embedded in a tool call is now of unknown confidentiality. You cannot un-send it. You can rotate it, and you can stop the next one. Teams that do only the rotation step and nothing else in this playbook still come out meaningfully ahead.

Step 1 — Inventory paths, not vendors

A vendor list is useless here, because one vendor can be four paths with four different exposures. Inventory the path: where a prompt originates, what it passes through, and where it terminates.

Write one row per path, not per tool:

Three places to look that are not in anyone’s procurement system: outbound firewall or DNS logs filtered to known inference domains; browser extension inventories on managed devices; and the environment variables and secret stores of your own CI, which is where agent credentials live.

Worked example. A 40-person company believed it had two AI vendors. The path inventory produced nine rows: an IDE assistant hitting a vendor directly; the same assistant’s “custom model” setting pointed at a router; a support-triage job calling that router with a cheaper model; two internal apps using an SDK whose default base URL was a gateway nobody had chosen; an observability tool capturing full prompt and response payloads for debugging; a meeting-notes tool; a browser extension three people had installed; and a contractor’s own account used for production work. Two of the nine paths terminated at hosts the company had never heard of.

Step 2 — Establish five facts per path

For each row, you need five things in writing. Not from a marketing page — from documentation you can cite or an email you can keep.

  1. The terminal host’s legal name. If the answer is “whichever provider the router picks,” that is the finding. Record the set.
  2. Retention period and scope. Specifically: does the retention commitment bind subprocessors, or only the first hop? Dragos’s framing is the one to internalise — every hop can see the entire prompt and response.
  3. Whether the path is covered by your retention setting at all. OpenRouter’s own documentation, for instance, scopes its zero-retention enforcement to inference provider routing — not to plugins or tools such as web search. Read your own vendor’s equivalent carve-out.
  4. Training use. Separate question from retention. A provider can delete a prompt after 30 days and still have trained on it.
  5. Breach notification commitment. Who tells you, within how many hours, and do they commit to telling you when a subprocessor is breached?

Rank by data class, not by spend. The $80-a-month tool that sees customer records outranks the $40,000 contract that summarises public filings.

The vendor email, verbatim

Send this to every intermediary and terminal host on the inventory. It is deliberately boring and answerable.

Subject: Subprocessor and retention confirmation — [account name]

Hello — we are completing a data-flow audit and need five points confirmed in writing for our records.

1. For requests from our account, please list every entity that processes or can access request and response content, including any inference providers, resellers or marketplace hosts in the path.
2. Does your retention commitment bind those entities contractually, or does it describe your own systems only?
3. Are there request types, features or endpoints that your retention setting does not cover? Please name them.
4. Is our content used for model training or evaluation under any circumstance, including with the retention setting enabled?
5. If a provider in our request path is compromised, what is your notification commitment to us, in hours, and does it apply to subprocessor incidents?

A short written reply is fine; we are documenting answers rather than negotiating. Thank you.

Non-answers are answers. File them. A vendor that will not name its subprocessors in writing has told you your data class for that path must be lowered.

Step 3 — Rotate everything a prompt has touched

This is the step with a deadline. Build the list from: secret scanners run against your own prompt logs and agent traces; the observability tool from Step 1, which is probably storing payloads in plain text; and a blunt question to engineering and support about credentials pasted into chat during incidents.

Rotate in this order, worst first:

Then remove the cause: short-lived credentials over static keys, no secrets in prompt context, and an outbound policy that stops a key reaching a model at all.

Step 4 — Three contract terms for the next renewal

Step 5 — Run one canary

You do not need two million prompts. You need one, repeated monthly. Create a cloud credential with no permissions and full logging, plus a unique hostname you control. Put both in a single innocuous prompt on each high-value path. Then watch the logs.

If the credential is ever used, or the hostname ever resolved, you have a hit, and you know exactly which path, model and retention setting carried it. If nothing happens, you have evidence for your auditors that costs almost nothing to produce. Do not use a real key, and do not do this on infrastructure you do not own.

The five numbers to track

  1. Paths inventoried versus paths with all five facts confirmed in writing. The gap is your actual exposure.
  2. Terminal hosts you cannot name. Target zero. Anything above zero is the number to report upward.
  3. Credentials rotated out of the prompt-exposure list, and how many remain.
  4. Longest-lived static credential still reachable from a prompt, in days.
  5. Canary hits, and days since the last clean monthly run.

Four ways this breaks

The 30-minute version, for Monday

  1. Five minutes: pull outbound DNS or firewall logs for the last 30 days, filtered to inference and router domains. Note every destination you did not expect.
  2. Five minutes: list your three highest-data-class paths from Step 1 and write down the terminal host for each. Mark any you cannot name.
  3. Ten minutes: send the vendor email to those three. Unchanged.
  4. Five minutes: ask engineering and support one question in writing — has any credential ever been pasted into a prompt? Start the rotation list from the answers.
  5. Five minutes: check whether your observability or logging tool is storing full prompt payloads, and who can read them.

That half hour will not secure anything. It will tell you whether you have a problem, which is the prerequisite for everything else, and it is more than most organisations can currently say.

Adjacent reading: the shadow AI audit for tools your staff built without telling you, AI incident disclosure for when you are the one notifying, and the third-party data request playbook for what to do when someone asks you the questions above.

The Dragos findings and provider notices referenced here are as published by those parties and the outlets covering them; we have not independently verified the intrusions. This is operational guidance, not legal advice.

Advertisement

Get the day, decoded — at 7 PM ET

The Sharp Brief: AI, money, business & performance in five sharp minutes. Free.

Free bonus: subscribe today and The 2026 AI Playbook (PDF) lands with your welcome email.

★ Recommended by 5+ newsletters across AI, markets & business.