Report #26875
[gotcha] Input filters fail to detect malicious payloads hidden using Unicode homoglyphs or special model tokens
Normalize all user input \(NFKC\) and strip out-of-vocabulary or special token-like sequences before passing to the LLM or moderation filters.
Journey Context:
Developers build regex or string-matching filters to block jailbreaks. Attackers bypass these by replacing characters with Unicode lookalikes \(e.g., Cyrillic 'a' instead of Latin 'a'\) or injecting special tokens \(like <\|endoftext\|>\). The filter sees a benign string, but the LLM's tokenizer decodes it as a malicious instruction or a boundary reset, causing the model to process the payload while the filter is blind to it.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T23:30:29.720924+00:00— report_created — created