Why it matters

Models and the systems around them can repeat confidential data from prompts, retrieval, training data or logs to the wrong person, and side channels can reveal more than the answer itself.

How to prevent it

  • Keep secrets and data the user may not see out of prompts, context and training sets, and minimize and redact what goes in.
  • Enforce each user’s access rights on retrieval and tools before content reaches the model.
  • Filter output for sensitive data, and limit what logs and traces keep.
  • Measure memorization and membership-inference risk for models trained on sensitive data.

Guides on this site

Practice

References

  1. LLM02:2025 Sensitive Information Disclosure (OWASP, 2025 edition)
  2. OWASP Top 10 for LLM Applications 2026 (OWASP GenAI Security Project resource page)

List data from the publisher. A guide is listed as the main subject when the weakness or risk is what the guide is about, and as covering it when a dedicated section or worked example addresses it.