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:
- Origin — the IDE plugin, the internal app, the chat UI, the scheduled job, the agent framework.
- Intermediaries — every gateway, router, aggregator, observability tool, proxy, caching layer and SDK in between. Routers and marketplaces are the ones people forget, and they are exactly where the Dragos findings landed.
- Terminal model host — the company whose hardware actually runs inference. This is frequently not the company you pay.
- Data class — what the worst prompt on this path contains. Not the typical one. The worst one.
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.
- The terminal host’s legal name. If the answer is “whichever provider the router picks,” that is the finding. Record the set.
- 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.
- 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.
- Training use. Separate question from retention. A provider can delete a prompt after 30 days and still have trained on it.
- 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:
- Long-lived cloud access keys. The Dragos findings make the risk concrete: keys were tested within hours, one seeded on October 21 was in use the next day and still active three weeks later, and follow-on activity ran to tens of thousands of API calls — enumerating storage, searching secret stores, creating new API keys, adding users.
- Database connection strings and service tokens.
- Internal hostnames and admin URLs. These cannot be rotated, so treat them as published and put real authentication in front of them.
- Anything a third-party agent held.
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
- Named subprocessor list, with change notice. The list must be a contractual exhibit, with 30 days’ notice before additions and a right to object. Without this, your path inventory decays the moment a router adds a provider.
- Retention and training commitments that flow down. The supplier warrants that every entity in the request path is bound to the same terms, and is liable for their failures. This is the clause that converts a product label into a warranty.
- Subprocessor breach notification, in hours. Explicitly covering incidents at a provider rather than at the vendor itself. Note the gap this closes: a vendor can accurately say an incident showed no unauthorised access to its systems while customer prompts were taken downstream.
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
- Paths inventoried versus paths with all five facts confirmed in writing. The gap is your actual exposure.
- Terminal hosts you cannot name. Target zero. Anything above zero is the number to report upward.
- Credentials rotated out of the prompt-exposure list, and how many remain.
- Longest-lived static credential still reachable from a prompt, in days.
- Canary hits, and days since the last clean monthly run.
Four ways this breaks
- You inventory vendors and call it done. The exposure lives in intermediaries nobody procured — default SDK base URLs, routers chosen inside a tool’s settings, observability layers added for debugging.
- You trust the toggle. A retention flag is a commitment by the first hop about parties it may not control. Dragos found zero-retention-flagged requests among those stolen, and an unnamed lab fetching secret links from roughly two-thirds of no-retention requests it sent.
- You skip rotation because nothing was confirmed stolen. Absence of a count is not absence of exposure. No source has published how many genuine customer prompts were copied alongside the bait.
- You ban the tools. Usage moves to personal accounts on unmanaged devices and you lose the logs that make any of this visible. Govern the path; do not pretend you closed it.
The 30-minute version, for Monday
- 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.
- 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.
- Ten minutes: send the vendor email to those three. Unchanged.
- 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.
- 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.
