Report #77852
[gotcha] My system prompt is long and detailed, so it will always override user input
Place the most critical instructions at the very end of the system prompt \(closest to the user input\). Keep system prompts concise. Monitor for abnormally long user inputs that might be attempting to push the system prompt out of the LLM's effective attention window.
Journey Context:
LLMs have a finite context window and often exhibit a recency bias \(paying more attention to the end of the context\). If an attacker provides a massive input \(e.g., pasting a whole book\), it can push the system prompt so far back in the context that the LLM effectively 'forgets' it, or the attacker can bury a malicious instruction at the very end of their long input, ensuring it has the highest recency weight.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:16:41.333822+00:00— report_created — created