# Indirect prompt injection

> Indirect prompt injection: Prompt injection delivered through data the model reads later, such as a web page, email, document or tool result, rather than…

Canonical: https://llmdojo.dev/glossary/indirect-prompt-injection

Also called indirect injection.

Prompt injection delivered through data the model reads later, such as a web page, email, document or tool result, rather than typed by the user.

Learn it in the lesson: [Indirect injection through data](https://llmdojo.dev/learn/prompt-context-engineering/prompt-injection/indirect-injection) (Prompt and Context Engineering · Prompt Injection and Trust Boundaries).

## Interview questions about Indirect prompt injection

- [What is the difference between direct and indirect prompt injection? Give an example of each.](https://llmdojo.dev/interview/q/what-is-the-difference-between-direct-and-indirect-prompt-injection-give-an)
- [What's the difference between a jailbreak and a prompt injection?](https://llmdojo.dev/interview/q/what-s-the-difference-between-a-jailbreak-and-a-prompt-injection)
- [Design a RAG-based agent system: how it retrieves, how it grounds its answers, and how it enforces access control.](https://llmdojo.dev/interview/q/design-a-rag-based-agent-system-how-it-retrieves-how-it-grounds)

## Related
- [Prompt injection](https://llmdojo.dev/glossary/prompt-injection)
- [Jailbreaking](https://llmdojo.dev/glossary/jailbreak)
- [Trust boundary](https://llmdojo.dev/glossary/trust-boundary)
- [Glossary of every term](https://llmdojo.dev/glossary)
