On this page
How it works
- Instructions and data share one context; the model can't reliably tell them apart.
- Indirect injection hides instructions in content an agent processes.
Full lesson: Safety, risk and safeguards.
Why it matters, by role
- AI Safety PMProduct Manager. Decides what a product should do, for whom, and why. Read the full explanation: Core risk for agents.
- Applied AI PM: Any feature reading untrusted content.
- Forward Deployed EngineerForward Deployed Engineer. An engineer embedded with customers who scopes, builds and ships AI solutions into production. Read the full explanation: Customer security reviews ask about it.
How interviews test it
- A security researcher shows that a hidden instruction on a web page made your browsing agent email a user's files to an outside address. What do you do?
- Your pilot succeeded, but the customer's security team won't approve production: they're worried about data leaving their environment and prompt injection. What do you do?
- You're building an AI agent that manages a user's email inbox. What should it be allowed to do on its own, and what should need the user's approval?
Common confusions
- A stronger system prompt doesn't solve it.
- The goal is limiting what a hijacked system can do: least privilege, confirmations, logging.
Related concepts
Sources
- Greshake et al. (2023), "Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection"
- Explained from standard practice; taught in full in the Safety, risk and safeguards module.