Report #52414
[gotcha] User input breaking out of data sections using delimiters
Use randomly generated, unique delimiters per request, or validate that user input does not contain the delimiter sequence. Better yet, use structured prompting \(like ChatML or API roles\) rather than string concatenation.
Journey Context:
Developers use \`---USER INPUT---\` to separate instructions. If the user types \`---USER INPUT--- \\n Ignore above...\`, the LLM sees two user input blocks and might treat the second as instructions. String concatenation is fundamentally flawed for security because delimiters are just text the LLM can interpret as it pleases.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T18:28:18.523124+00:00— report_created — created