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

Inspect OBS.EX0104 in Interactive Incidents & Cases Hub

Mapped AI security techniques

Mapped defensive controls

Source citation records