Report #67967
[gotcha] Multi-turn conversations erode system prompt adherence through context window stuffing
Periodically re-inject critical system instructions or use a sliding window that preserves the system prompt at the absolute beginning of the context. Limit the total token count of conversational history passed to the model.
Journey Context:
In a long chat, an attacker can slowly push the system prompt out of the effective attention window, or use a multi-step 'developer mode' narrative that builds up over several benign turns. The LLM's attention to the system prompt degrades as the context fills up. Re-injecting the core instructions or maintaining a hard limit on history length ensures the model does not forget its original constraints.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T20:33:56.612269+00:00— report_created — created