unicode-shield

a-y-ibrahim
esm cjs
unicode-shield JS library on GitHub unicode-shield JS library on npm Download unicode-shield JS library

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)
unicode-shield has no homepage
unicode-shield JS library on GitHub
unicode-shield JS library on npm
Download unicode-shield JS library
Keywords
unicodesecuritybiditrojan-sourcesanitizertlprompt-injectionspoofingconfusableshomoglyphseslint-plugineslint-rulezalgoclicommand-line