Report #85974
[gotcha] Missing prompt injections hidden in zero-width or homoglyph Unicode characters
Normalize Unicode input to ASCII equivalents where possible and strip zero-width characters before passing text to the LLM or RAG index. Use strict input validation on user-supplied text.
Journey Context:
Attackers can hide 'Ignore previous instructions' within seemingly normal text using zero-width spaces or replace Latin characters with Cyrillic homoglyphs. The LLM tokenizer might process these in unexpected ways, or the hidden text becomes visible to the model's token embedding but invisible to human reviewers and simple regex filters.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T02:53:29.602181+00:00— report_created — created