Report #63691
[counterintuitive] Are system prompts a secure way to hide instructions from users
Never put secrets or critical proprietary logic in system prompts assuming they are hidden; treat them as user-visible and implement security at the application layer.
Journey Context:
Developers assume the 'system' role acts as a secure, hidden configuration. In practice, LLMs are highly susceptible to prompt injection, and clever user inputs can trick the model into regurgitating its system prompt verbatim. System prompts are instructions, not access control mechanisms. Security must be enforced outside the LLM context window.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T13:23:33.342657+00:00— report_created — created