unicode-security-anti-pattern
Installation
SKILL.md
Unicode Security Anti-Pattern
Severity: Medium
Summary
Applications fail to handle Unicode character representation variants, enabling username spoofing, phishing, and validation bypasses through:
- Confusable Characters (Homoglyphs): Identical-looking characters from different scripts (Latin 'a' vs. Cyrillic 'а').
- Normalization Issues: Multiple byte sequences for the same character (precomposed vs. base + combining accent).
- Zero-Width Characters: Non-printing characters hiding malicious content or altering string lengths.
- Bidirectional Text Overrides: Control characters reordering display (obfuscating
exe.pdfasfdp.exe).
The Anti-Pattern
The anti-pattern is processing Unicode strings without normalization, confusable detection, or control character stripping.