Report #62916
[gotcha] Unicode and special characters bypass text-based safety filters
Normalize unicode inputs to ASCII equivalents \(NFKC normalization\) and strip zero-width characters before processing prompts through safety filters or the LLM.
Journey Context:
Developers implement regex or keyword-based safety filters on raw user input. Attackers bypass these by using homoglyphs \(e.g., Cyrillic 'а' instead of Latin 'a'\), right-to-left overrides, or zero-width spaces. The filter sees a benign string, but the LLM's tokenizer interprets the characters as the intended malicious words. Normalization aligns the filter's view with the model's view.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T12:05:13.968765+00:00— report_created — created