Skip to main content
When someone sends a message from Claude Desktop, ChatGPT Desktop or another AI app, the app doesn’t send only that message. Every request also carries:
  • the app’s own instructions;
  • the whole conversation so far;
  • a description of every tool its connectors offer.
The desktop agent passes all of it to PromptGuard. PromptGuard checks each part for what can actually go wrong in that part, instead of treating all of it as if the person had just typed it.

The four parts

Why not check everything as if the person typed it?

Because the app’s own text isn’t the person’s outbound message, and checking it that way makes the protection unusable:
  • The app’s instructions talk about instructions. A system prompt that says “these system instructions describe how the assistant behaves” looks like a prompt injection to a rule that flags the phrase. Checked as the person’s words, it blocked every request.
  • The person’s own profile isn’t a leak. Claude Desktop tells the model the signed-in person’s name. Redacting it rewrote the vendor’s system prompt on every turn, and protected nothing.
  • One false positive shouldn’t end a conversation. The app resends the whole conversation each time. If earlier turns were checked again for what blocks, a message that tripped a rule once would block every message after it.
What is checked is checked fully. A key pasted anywhere the person controls is caught: in the message itself, or in the project instructions and memory that travel inside the app’s instructions.

Where you see it

Every finding on a Shadow AI request carries a segment that says which part it came from: current_turn, earlier_turn, instructions or tool_definition. You’ll find it:
  • on the event in your dashboard;
  • in exported alerts;
  • on the Guard API response.
That lets your analysts tell a key someone typed apart from a key sitting in a project’s instructions, which need different fixes. Earlier turns appear in the response’s unscanned list with the reason earlier_turn, because they are checked only for what to redact. “Allowed” never claims more was read than actually was. A redaction in an earlier turn is reported with segment earlier_turn.

Agent versions

Tools the AI provider runs itself, such as Gemini’s Google Search or OpenAI’s web search, are offered by name only. There is nothing in them to check, so they’re not listed as unchecked. Everything else on this page applies to every agent version, because the checks run in PromptGuard, not on the device.

What counts as a scan

A scan is one request the desktop agent sends to PromptGuard for checking, and it is what your scan allowance counts. Only a request that carries a prompt is a scan. The agent decides that on the device, before anything is sent:
  • Only a request that sends content (a POST) can be a prompt. Model lists, account checks, health checks and downloads (GET requests) go straight to the AI provider.
  • Telemetry and analytics are never scanned. AI apps report usage, errors and timings to their vendor all the time, even while nobody is typing: an idle ChatGPT desktop app sends hundreds of these a day. They go straight through, unread, and are not counted.
  • An app’s own background requests are not scanned unless they hold a message in the shape of a prompt. For the requests the agent knows to be background traffic (ChatGPT’s feature-flag, latency and set-up requests, and Claude’s conversation set-up and title requests, among others), only a real prompt in the body is checked.
  • Everything else that reads like something a person wrote is checked. A request the agent does not recognise is read for text, so a prompt sent a way the agent has not seen before is still checked, and counted.
  • Sign-in is never scanned, so a password or token is never sent for checking.
Some tools send the same prompt more than once, and each request is a scan: Claude Code, for example, counts a prompt’s tokens before it sends the prompt. Agents up to v0.9.0 also checked, and counted, background requests from ChatGPT and Claude that held no prompt; the release after v0.9.0 does not. Which tools the agent can see at all, on each operating system, is on Supported AI tools.

What is not inspected

Some traffic never reaches these checks at all. For example:
  • apps that pin their own certificates;
  • traffic over QUIC/HTTP-3;
  • messages an app sends over a WebSocket.
See Known limitations.
Last modified on October 31, 2026