LLM07:2025 / RISK
System Prompt Leakage
Exposed system prompts can reveal internal context, but prompts must never hold the application's security boundary.
- Category
- OWASP LLM / GenAI
- Version / scope
- OWASP Top 10 for LLM Applications 2025
- Affected / relevant technologies
- System prompts / Application policy
- Evidence
- Documentation: editorial summary; publisher link access checked. Execution: not tested. Editorial: curated reference.
Defensive analysis and explicitly authorized assessment only. This website performs no scans, exploitation, model calls or infrastructure changes. Indicators below are investigation opportunities, not proof of compromise or guaranteed detectors.
Mechanism and prerequisites
Internal instructions or sensitive values can appear in observable model behavior.
Potential impact
Disclosure of internal details or secrets mistakenly embedded in prompts.
Detection and investigation
- Inspect prompt storage and output handling; distinguish instruction disclosure from actual credential exposure.
Preserve source timestamps, asset identity and collection context. Correlate independent evidence before attributing malicious intent. In OT, review passive evidence with the process owner; do not induce failures, replay commands or write to controllers to test a hypothesis.
Mitigation and response
- Keep secrets out of prompts and enforce authorization in application code, not hidden instructions.
Apply changes through the asset owner's approved change and recovery process. Documentation review is separate from successful testing or verified production protection.
Related technical context
No protocol-specific mapping is asserted for this entry.
Authoritative sources and attribution
Identifiers and source titles belong to OWASP, MITRE, the CVE Program, CISA, NIST or the cited vendor. Summaries are original editorial explanations. This is not an official framework mirror. Review baseline: 2026-11-18. Live documents can change; check exact current applicability.
- OWASP LLM07: 2025 System Prompt Leakage — source accessed 2026-11-18
Source review supports bounded reference text. It is not execution evidence, a completeness claim, a CVSS assessment, a compliance certification or verification of production security.
