Skip to main content

Frequently Asked Questions

What is indirect prompt injection?
It is an attack where the malicious instructions arrive through external data the model reads, such as a web page, email or file, instead of from the user's own prompt.
Why is indirect injection hard to stop?
LLMs cannot reliably tell data from instructions, so any untrusted content in the context window can carry commands. The attacker never needs direct access to the chat.
How can applications reduce the risk?
Limit tool privileges, separate untrusted content, filter outputs and require human approval for sensitive actions. This intermediate room on Codelivly is free and covers these mitigations.