Report #82262
[gotcha] Assuming system prompts are immutable guardrails against jailbreaks
Do not rely solely on system prompts for security. Implement external guardrails \(input/output classifiers, separate moderation models\) and enforce security boundaries at the application layer, not the prompt layer.
Journey Context:
Developers put extensive 'Do not do X' instructions in the system prompt, assuming the LLM will always prioritize them. However, system prompts are just text with a slightly higher attention weight. Strong contextual attacks or indirect injections can easily override them. Security must be enforced outside the generative model; an LLM cannot reliably guard itself.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T20:40:14.187779+00:00— report_created — created