I wanted to review what leaves my machine before pasting it into an AI chat or issue tracker. Repeated values need the same replacement token, or the output stops making sense.

Use the same token for the same value.

TypeScript keeps detector matches, .aiscrubrc.json rule packs, and replacement tokens consistent across browser, CLI, and MCP runs. Web Crypto API creates the session key used by reversible prompt masking.

Browser transformations run in local memory. Review the output before sharing it. Installing the CLI or MCP package contacts npm; local execution runs without telemetry.

Pattern matching can miss a custom secret. Unicode cleanup is not proof that text came from AI, and metadata stripping does not verify C2PA signatures or rewrite PDFs.

Read the source