Report #96337
[gotcha] Single-turn safety filters bypassed by many-shot context priming
Implement context window limits or distance-based decay for few-shot examples in the prompt; monitor the ratio of user-provided context to the actual query.
Journey Context:
LLMs are trained to follow patterns. If an attacker fills the context window with dozens of fake dialogue turns where the 'Assistant' answers harmful questions, the in-context learning overrides the model's RLHF safety training. Traditional single-turn classifiers miss this because the final prompt itself is benign \('How do I make this?'\), relying entirely on the preceding context to trigger the harmful completion.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T20:17:08.456600+00:00— report_created — created