@toolpal/pii-redact
publicv2.0published 1 download this weekMIT
Scans and redacts personal information (emails, phone numbers, SSNs, Luhn-verified credit cards, IBANs, IP addresses) and credentials/secrets (API keys, JWTs, private keys, database URLs, Bearer tokens) locally from text or files (TXT, MD, CSV, JSON, LOG, ENV, DOCX). Runs 100% offline with zero network access and no API keys.
Temporary files
A private temp directory per process
- imports node:fssrc/index.ts · dist/tool.mjs:11
import { readFileSync, statSync, writeFileSync } from "node:fs";
Everything else is denied: the network, environment variables, files outside its package and temp directory, child processes, workers and native addons. Node's permission model enforces this, and it isn't a hard sandbox. Security model