Which scenario most directly indicates a data-exfiltration risk?
Show answerHide answer
Correct answer: C Adversarial content in a retrieved document instructs the model to call the outbound HTTP tool and send sensitive content to an attacker-controlled URL.
Explanation
Explanation:The scenario in Option C directly describes the classic path of indirect prompt injection leading to data exfiltration: adversarial instructions are embedded in the retrieved document (untrusted data), inducing the model to call an outbound HTTP tool and send sensitive content to an attacker-controlled URL. This simultaneously satisfies two conditions: untrusted content influences tool invocation and the existence of a network-capable exfiltration channel. In an agent architecture, the context window does not distinguish between "data" and "instructions"—system prompts, user messages, and tool outputs are all in the same token stream. An attacker only needs to hide instructions in a document, and the model may treat them as legitimate commands and execute them. The retrieved document itself is untrusted data; its embedded instructions should not be treated as authorized commands. Once such instructions cause the assistant to include sensitive internal information in an outbound HTTP request, information crosses a trust boundary and is disclosed to an external party without proper authorization.
Why the other options are incorrect:
A describes a normal business call to an allow-listed domain to fulfill a user request, which is a legitimate use of the outbound tool, not exfiltration.
B is a routine question-and-answer interaction with no involvement of sensitive data or outbound tools.
D describes a user retrieving a document they are authorized to view, which is normal access behavior with no outbound transmission link.
References:
- Indirect prompt injection mechanism: tool output and system instructions share the same context window, with no structural signal distinguishing data from instructions; a trust boundary must be enforced at the application layer.

