Definition
Most AI applications prepend instructions that shape behavior: role, tone, permitted topics, tool descriptions, and often business context. Extraction is the attempt to make the system disclose that material.
Why it is a security finding, not a curiosity
A disclosed system prompt frequently reveals more than instructions. It can name internal tools and their parameters, describe data the assistant can reach, expose business rules, and set out precisely which restrictions exist, which is a map for defeating them.
The design conclusion
A system prompt is not a security boundary. It is configuration that happens to sit inside the model's context, and anything in that context should be assumed reachable. Real restrictions belong in the application layer, where they can be enforced rather than requested.
- User
- Adversarial Prompt
- AI System
- Hidden Instructions
Each hop validated by successful exploitation
Tags
- disclosure
- system prompt
- prompt injection