unicode-shield
esm cjs
Detect and sanitize dangerous Unicode in user-supplied text: bidi spoofing (Trojan Source), invisible characters, and Unicode Tag prompt-injection payloads, without breaking real RTL text or emoji.
Version 0.9.1 License (MIT AND Unicode-3.0)
Keywords
unicodesecuritybiditrojan-sourcesanitizertlprompt-injectionspoofingconfusableshomoglyphseslint-plugineslint-rulezalgoclicommand-line
INSTALL