Report #35811
[gotcha] Critical safety instructions are ignored because they are pushed to the middle of a massive context window by large RAG results
Place the most critical instructions \(especially safety constraints\) at the very beginning or very end of the prompt. Avoid putting safety instructions in the middle of large RAG chunks.
Journey Context:
Developers stuff the context window with RAG results and put the system prompt at the top, but if the RAG results are huge, the LLM suffers from 'Lost in the Middle' syndrome. An attacker can intentionally retrieve long, irrelevant documents to push the safety instructions into the middle, making the LLM forget them and more susceptible to jailbreaks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T14:35:10.287945+00:00— report_created — created