Documented Exercise · OBS.EX0104
Systematic Measurement of System Prompt Extraction Across 11 LLMs
Zhang, Carlini, and Ippolito (2023) established a precision evaluation framework distinguishing true system-prompt leakage from model hallucination across three prompt datasets and 11 LLMs, including production ChatGPT and Claude 3 endpoints. Simple natural-language extraction queries reliably recovered confidential system instructions at high rates despite vendor guardrails instructing models to keep prompts secret. Treating system prompts as cryptographic secrets or security boundaries fails reliably in production chatbots. Developers must move authorization logic, secrets, and business rules into backend code outside the system prompt.
Exercise dossier metadata
- Case ID
OBS.EX0104- Classification
- Exercise
- Date
- Evaluation scope
- 11 Open & Commercial LLMs (incl. ChatGPT & Claude 3) · 3 Prompt Corpora
- Reference URI
https://arxiv.org/abs/2307.06865
Mapped AI security techniques
- Discover LLM System Information AML.T0069
- Discover LLM System Information: System Prompt AML.T0069.002
- Data from AI Services: System Instructions AML.T0085.003
Mapped defensive controls
- Limit Public Release of Information AML.M0000
- Generative AI Guardrails AML.M0020
- Input and Output Validation for AI Agent Components AML.M0033
Source citation records
- Effective Prompt Extraction from Language Models · arXiv (author preprint; peer-review status not inferred) ·