Glossary · term

Indirect prompt injection

A variant of prompt injection (Greshake et al. 2023) where malicious instructions are injected not by the user but through data the agent retrieves: a web page, an email, a PDF. The agent "reads" the instructions as though they came from the user. Especially dangerous for autonomous agents. It spurred the development of sandboxing, KYA, and Constitutional Classifiers.

Safety2024Wave 1 · 2023Maturity: 3/5

Maturity rationale

Indirect prompt injection — a central problem of agents

References

Author: Simon Willison

Cite or link to this resource · CC BY 4.0
Free to quote, link, and reuse with attribution

Referencing this analysis in documentation, research, or an engineering write-up? Copy a formatted link or citation below:

Show citation text & canonical URL
Markdown: [Indirect prompt injection — AI Glossary — Skills Intelligence](https://www.skillsintelligence.tools/glossary/term/indirect-prompt-injection)
APA: Skills Intelligence. (2024). Indirect prompt injection — AI Glossary. Skills Intelligence AI Glossary. Retrieved from https://www.skillsintelligence.tools/glossary/term/indirect-prompt-injection