v0.1.0by Gonzalo Verdugo
pii-mask
Masks emails, phone numbers, ID numbers, IBANs and card numbers before Claude reads them.
0 downloadsUpdated 6 Oct 2026privacy · pii · gdpr · redact
See it run
A sample Claude Code session played through this mod's hooks, in your browser. What it draws is drawn. Files, network, processes and the model are never reached: each call is listed under the terminal with the stand-in it got.
It is a simulation: a mod that depends on a real answer shows what it does with an empty one.
README
pii-mask
Masks personal data in everything tools and files bring into the conversation, before Claude
reads it: emails (a***@acme.com), phone numbers ([phone ···678]), Spanish DNI and NIE
numbers ([ID]), IBANs ([IBAN ···1332]) and card numbers that pass the checksum
([card ···1111]). The status line counts how many it has hidden. Turn on the prompts option
to mask what you type as well.
What it does not do:
- It finds data by its shape, so names and postal addresses go through untouched.
- It changes what the conversation keeps, which is what the model reads. What the screen draws as a tool runs may still show the original.
- Claude only sees the masked value, so a task that needs the real one (writing to a customer, fixing a typo in an email) cannot use it.
It touches prompts and the conversation (session.append, tool results only) and display
(the status line). It sends nothing anywhere.
Files
5 files, 7.6 KB unpacked, in the latest version.
Pick a file to read it.
Versions
A published version never changes. Each archive is pinned by its sha256 in the marketplace.
| Version | Published | Size | sha256 | |
|---|---|---|---|---|
| 0.1.0 | 6 Oct 2026 | 3.8 KB | fd79fe8ce8c7… | zip |