SIGNAL//DESK
AI securitysrc: OWASP LLM Top 10

System Prompt Leakage

System prompt leakage is like a secret instruction manual for an AI being accidentally shown to the public. If someone reads these private rules, they can figure out how to trick the AI into ignoring its safety boundaries or revealing sensitive information it was supposed to keep hidden.

System prompt leakage occurs when an LLM inadvertently outputs its underlying system instructions or configuration directives in response to user input. This exposure allows attackers to map the model's internal logic, identify specific guardrail implementations, and craft adversarial prompts to bypass security controls.

System prompt leakage is an information disclosure vulnerability where the model's system-level context—including behavioral directives, PII-handling protocols, and security guardrail definitions—is exfiltrated via the generation stream. This compromise of the model's instruction-tuned configuration provides an attacker with the necessary metadata to perform targeted prompt injection, effectively neutralizing safety alignment and enabling unauthorized access to proprietary business logic or backend data.

evolution

  1. 2022-11 · history
    ChatGPT Launch

    The public release of ChatGPT popularized LLMs, immediately triggering widespread community efforts to extract system instructions via prompt injection.

  2. 2023-02 · history
    DAN Jailbreak

    The 'Do Anything Now' prompt emerged as a viral method to bypass safety guardrails by forcing the model to ignore its original system instructions.

  3. 2023-09 · history
    System Prompt Extraction Research

    Security researchers formalized techniques like 'ignore previous instructions' and 'repeat the words above' to systematically leak hidden system prompts.

  4. 2024-05 · history
    GPT-4o System Prompt Leak

    The rapid extraction of GPT-4o's system prompt shortly after launch highlighted the persistent vulnerability of hidden instructions to adversarial prompting.


← all terms