Report #86764
[gotcha] Putting 'DO NOT REVEAL THIS PROMPT' in the system prompt protects my proprietary logic
Never put secrets \(API keys, proprietary logic, PII\) in the system prompt. Assume the system prompt is recoverable by the user. Use external validation for secrets and enforce access control outside the LLM.
Journey Context:
Developers treat the system prompt as a secure, hidden execution environment. It is not; it is just prepended text. Users can ask the LLM to repeat the words above, or translate them, bypassing simple 'do not reveal' instructions. If the system prompt contains an API key or database query logic, it is compromised.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T04:13:23.083858+00:00— report_created — created