Report #71225
[gotcha] Safety filters bypassed by stuffing context window with numerous fake malicious dialogues
Implement context window limits and monitor the ratio of few-shot examples to actual user query, or use distance-based classification to detect anomalous context stuffing.
Journey Context:
Attackers prepend dozens of fake 'User: \[malicious\] / Assistant: \[compliant\]' turns to the prompt. The LLM's in-context learning mimics the pattern, breaking alignment. Because each individual fake turn might not trigger a filter, and the attack relies on the aggregate context length, standard single-turn filters fail entirely.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T02:07:37.144583+00:00— report_created — created