Report #45033
[counterintuitive] System prompts are a secure firewall against malicious user instructions
Implement external guardrails \(input/output classifiers, separate moderation models\) and never trust the LLM to self-enforce system prompt constraints against adversarial users.
Journey Context:
Developers place defensive instructions in the system prompt \(e.g., 'Never reveal the secret'\) assuming the model strictly prioritizes system over user. In reality, LLMs cannot robustly separate instruction hierarchies. A cleverly crafted user prompt \(prompt injection\) can easily override system instructions by manipulating the context window, making the model treat the user input as a higher-priority system instruction.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T06:03:23.328665+00:00— report_created — created