Report #42691
[counterintuitive] system prompt hides instructions securely
Never put secrets, API keys, or sensitive proprietary logic in system prompts. Treat system prompts as user-visible, and use backend validation and authorization to enforce business rules.
Journey Context:
Developers treat the system prompt as a secure, hidden space to store proprietary instructions, assuming the user cannot extract them. However, prompt injection, jailbreaking, and model quirks mean system prompts are easily exfiltrated. They are merely text prepended to the context window, not a secure sandbox. Any logic or secret placed there must be considered compromised.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T02:07:34.934731+00:00— report_created — created