SG-022: Context Window Flooding
Severity: MEDIUM
Repetitive filler text, context boundary spoofing, excessive separators
Fires when
- An unusually large file (over ~200KB) that could push the system prompt and prior context out of the model's attention window.
- Highly repetitive filler - the same non-trivial line repeated many times, or an extremely low compression ratio.
- Repeated `ignore / disregard / forget previous instructions` override phrasing.
- Prompt-boundary spoofing markers ([CONTEXT_BREAK]/[RESET], <context_break/>/<reset/>, `END OF SYSTEM PROMPT`, `NEW SYSTEM PROMPT`).
Remediation
No safe remediation: a file that triggers this rule should be rejected, not patched. Read the flagged lines in the source before deciding.