Repository navigation
v0.1.0 – Zero-Dependency PII & Secret Masking for LLMs
First public release of @promptaudit/shield.
- Zero dependencies, 100% local processing
- Checksum-validated masking: IBAN (Mod-97), Credit Cards (Luhn), US-SSN, ABA Routing
- Developer secret protection: OpenAI, Anthropic, AWS, GitHub, Slack tokens, JWT, PEM private keys
- Reversible placeholders with automatic local restoration via
unshield()andwithShield() - Built-in Unicode obfuscation normalization (zero-width, full-width)
- Runs in Browser, Node.js, Bun, Deno, and Cloudflare Workers