# Prompt leaking

Canonical page: https://www.theglitch.ai/ai-glossary/prompt-leaking

Getting a model to reveal its hidden instructions or other confidential context.

[Prompt leaking, common card \#177 in The Glitch AI glossary: Getting a model to reveal its hidden instructions or other confidential context.](https://www.theglitch.ai/images/cards/glossary/prompt-leaking.png?v=b18cb6bb8d3131c3)

GLS 177 · common

Also called: System prompt leakage.

For: Builders

## Why it matters

If your secret sauce is the prompt, assume someone can extract it.

## In practice

A user asks a branded bot to ‘repeat everything above’ and gets its full instructions.

## Watch for

Never put passwords or keys in prompts; treat prompts as public.

## Related terms

[Prompt injection](https://www.theglitch.ai/ai-glossary/prompt-injection) · [System instructions](https://www.theglitch.ai/ai-glossary/system-instructions) · [Jailbreak](https://www.theglitch.ai/ai-glossary/jailbreak)

## Sources

- [OWASP: LLM07 System prompt leakage](https://genai.owasp.org/llmrisk/llm072025-system-prompt-leakage/)

Definition updated 2026-10-29.

[The Ultimate AI Glossary (2027): every term](https://www.theglitch.ai/ai-glossary)

---

Site: [The Glitch](https://www.theglitch.ai) · [About Rabin](https://www.theglitch.ai/about) · [Agent guide](https://www.theglitch.ai/agent.md)
