Report #77492
[gotcha] Malicious prompts hiding in Right-To-Left Override or zero-width unicode characters
Normalize unicode and strip control characters \(like U\+202E or zero-width spaces\) from all untrusted inputs before they enter the LLM context or your logs.
Journey Context:
Attackers use U\+202E to reverse text visually or zero-width spaces to break up words. A moderation filter or human reviewer sees benign text, but the actual string processed by the tokenizer is a banned word or harmful instruction, bypassing naive string-matching filters. The LLM processes the raw tokens and executes the hidden intent.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T12:40:33.272399+00:00— report_created — created