Report #51197
[gotcha] System prompt treated as a secure vault for secrets
Never place API keys, passwords, or proprietary business logic in the system prompt. Assume the system prompt is public.
Journey Context:
LLMs are trained to be helpful and often repeat their system prompt when asked \(e.g., 'Repeat the above'\). Developers mistakenly believe the 'system' role is hidden from the user, leading to leaked credentials and intellectual property.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T16:25:13.570316+00:00— report_created — created