Report #84370
[gotcha] Unicode homoglyphs and invisible characters bypass text-based prompt filters
Normalize and strip Unicode text to ASCII equivalents before applying input filters; explicitly filter out zero-width characters and right-to-left overrides before tokenization.
Journey Context:
Developers build regex or keyword filters on raw user input. Attackers use characters like Cyrillic 'а' instead of Latin 'a', or zero-width joiners, which bypass string matching filters but are often interpreted identically by the LLM's tokenizer. Filtering after tokenization or normalizing text before filtering is essential, otherwise the filter sees a completely different string than the LLM does.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T00:12:37.968550+00:00— report_created — created