Documented Exercise · OBS.EX0001

PromptInject: Goal Hijacking & Prompt Leaking on GPT-3

Perez and Ribeiro (2022) introduced PromptInject, an alignment testing framework using mask-based iterative prompt composition to evaluate goal hijacking and system prompt leaking against production GPT-3 endpoints. Across controlled adversarial prompt templates, simple user-supplied directives reliably overrode developer system instructions and elicited hidden prompt text. The findings established that autoregressive token prediction lacks native separation between developer instructions and untrusted user input. Defensively, the authors motivate privilege isolation, input sanitization, and external policy enforcement rather than relying solely on prompt wording.

Exercise dossier metadata

Case ID
OBS.EX0001
Classification
Exercise
Date
Evaluation scope
Commercial Autoregressive LLMs · Direct Instruction/Data Boundary Testing
Reference URI
https://arxiv.org/abs/2211.09527

Inspect OBS.EX0001 in Interactive Incidents & Cases Hub

Mapped AI security techniques

Mapped defensive controls

Source citation records