Report #66026
[gotcha] Bypassing safety filters with many-shot or long-context distraction
Limit the context window size per user session, implement rolling context windows, and apply output filters independently of the conversation length.
Journey Context:
Safety filters and system prompts are often overwhelmed by extremely long contexts. In a 'many-shot' attack, the user provides hundreds of fake dialogue turns where the 'assistant' answers maliciously. The LLM, being a next-token predictor, mimics the pattern in the context, overriding the original system prompt. Context length limits mitigate this.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T17:18:21.809929+00:00— report_created — created