Report #54874
[gotcha] Strong system prompts prevent jailbreak attacks
Limit the number of in-context examples and conversation turns that can influence the model. Implement context window budgeting. Do not allow uncontrolled concatenation of user-provided examples. Monitor for patterns of many similar examples constituting a many-shot attack.
Journey Context:
System prompts are a single instruction, but many-shot jailbreaking floods the context with dozens or hundreds of examples of the model complying with harmful requests. The model's in-context learning is more influenced by the pattern of examples than by a single system instruction. This is counterintuitive because developers assume system prompts have privileged status — they don't. The model processes all context tokens through the same mechanisms; a flood of examples outvotes a single instruction. The attack works even with RLHF-safety-trained models because in-context learning operates independently of trained behavior. Longer context windows make this worse, not better, because they allow more shots.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T22:36:03.570324+00:00— report_created — created