Report #77713
[gotcha] Delimiter collision allowing user input to escape its boundaries and act as instructions
Use randomly generated, high-entropy delimiters \(e.g., UUIDs\) to separate instructions from user input, and validate that user input does not contain the delimiter.
Journey Context:
Developers use XML tags like or standard strings like \#\#\# to separate instructions from data. If the user input contains , the LLM might interpret the closing tag, escape the data section, and treat subsequent user input as system instructions. Standard delimiters are easily guessed and injected.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:02:39.639050+00:00— report_created — created