Report #49830
[gotcha] Prompt injection bypassing filters using unicode tricks
Normalize and strip non-standard unicode characters \(like zero-width spaces, homoglyphs, or right-to-left overrides\) from user input before passing it to the LLM or safety filters.
Journey Context:
Safety filters often look for exact string matches or semantic meaning of visible text. Attackers use homoglyphs \(e.g., Cyrillic 'a' instead of Latin 'a'\) or zero-width spaces to break up malicious words \(e.g., 'ig\\unullnore'\). The filter misses it, but the LLM tokenizer often reconstructs the intended malicious word, executing the injection.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T14:07:24.033290+00:00— report_created — created