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

Inspect OBS.EX0002 in Interactive Incidents & Cases Hub

Mapped AI security techniques

Mapped defensive controls

Source citation records