Documented Exercise · OBS.EX0002
Indirect Prompt Injection in Real-World LLM-Integrated Applications
Greshake et al. (2023) formalized indirect prompt injection, evaluating how adversarial instructions embedded in external web pages and retrieved data compromise LLM-integrated applications without direct attacker prompting. Testing against Bing Chat (GPT-4) and synthetic GPT-4 tool-integrated prototypes demonstrated remote hijacking of output behavior, data theft, persistent context manipulation, and worm-like propagation. The study revealed that blurring instructions and external data turns passive retrieval channels into active control planes. Effective remediation requires strict architectural separation of untrusted retrieved text from privileged instruction channels and external API authorization.
Exercise dossier metadata
- Case ID
OBS.EX0002- Classification
- Exercise
- Date
- Evaluation scope
- LLM-Integrated Applications & Search Assistants · Retrieval-Borne Injection
- Reference URI
https://arxiv.org/abs/2302.12173
Mapped AI security techniques
- LLM Prompt Injection: Indirect AML.T0051.001
- Retrieval Content Crafting AML.T0066
- Prompt Infiltration via Public-Facing Application AML.T0093
- LLM Prompt Propagation AML.T0143
Mapped defensive controls
Source citation records
- Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection · arXiv (author preprint; peer-review status not inferred) ·