EX-027: Your AI read untrusted text and private data, and now wants to send something out

Your AI read untrusted text and private data, and now wants to send something out

Infection level: CRITICALEX-027 · Lethal trifecta completed in a live session

What the attacker is trying to do

Earlier in this session your AI read text anyone can write (a web page, an issue, a message) and then private data (a secrets file, a key). Each step looked harmless. Sending data out now is exactly how a prompt injection steals it, so the Shield holds the call until you say yes.

Defanged example

No example file exists for this rule yet.

How to fix it

In this agent session your AI first took in text anyone can write (a web page, an issue, a chat message) and then read private data (a secrets file, a key, a private tool). Each step looks harmless alone, but this is the order a prompt injection uses to steal data, so the Shield held the next call that could send data out. If you asked for that call, allow it in the prompt, or run "exorcist approve session <key>" (the key is in the alert) and ask again. If you did not, decline it, find the page, issue or message that told your AI to send the data, and start a new session. To avoid it, break one leg of the trifecta (EX-023): keep servers that read untrusted text out of sessions that read private data.

Technical details

Detected by
a text pattern
Checks files of type
tool-result, mcp-config
OWASP
LLM01:2025 Prompt Injection; LLM02:2025 Sensitive Information Disclosure; LLM06:2025 Excessive Agency; ASI02 Inadequate Human-in-the-Loop Controls