{
  "id": "prompt-leaking",
  "code": "PTL-0089",
  "term": "Prompt Leaking",
  "aliases": [],
  "category": "security",
  "definition": "Prompt leaking is an attack that tricks a model into revealing its hidden system prompt or other confidential instructions.",
  "description": "System prompts should be treated as potentially discoverable, so they should not contain secrets such as API keys.",
  "example": null,
  "broader": [
    "prompt-injection"
  ],
  "narrower": [],
  "related": [
    "system-prompt"
  ],
  "introduced": null,
  "sources": [
    {
      "title": "Ignore Previous Prompt: Attack Techniques For Language Models",
      "authors": "Perez & Ribeiro",
      "year": 2022,
      "url": "https://arxiv.org/abs/2211.09527"
    }
  ],
  "url": "https://protologue.com/t/prompt-leaking/",
  "citation": "Protologue. (2026). Prompt Leaking. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.0.0, PTL-0089). https://protologue.com/t/prompt-leaking/"
}