Report #66412
[counterintuitive] Are system prompts a secure way to hide instructions from users
Never put secrets or critical security logic solely in the system prompt. Treat system prompts as advisory, not a security boundary. Implement server-side validation and authorization for any sensitive actions.
Journey Context:
Developers treat the system prompt as a hidden, secure vault for API keys or unbreakable rules. However, prompt injection \(both direct and indirect\) can easily manipulate the model into ignoring or revealing the system prompt. The model operates on natural language, which has no concept of a security perimeter. Any input that conditions the model's output can be overridden by a sufficiently clever adversarial input.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T17:57:23.964367+00:00— report_created — created