Report #82597
[counterintuitive] Are LLM system prompts secure against user prompt injection
Never put secrets in system prompts, and never trust the system prompt as a security boundary for access control; use external deterministic validation for security-critical actions.
Journey Context:
Developers treat the system prompt as a secure, immutable instruction set that the model will always prioritize over the user prompt. Because LLMs cannot fundamentally distinguish between 'system' and 'user' tokens at an attention level \(they are just text with different role prefixes\), prompt injection allows user input to override or ignore system instructions. System prompts are a steering mechanism, not a security sandbox.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T21:13:36.499022+00:00— report_created — created