pii-guard

by dave-net-positive · ★ 2 · updated 9 days ago

PanesStatus lineGuardsCommandsPromptTools & agentsvalidates

0

Holds prompts, @file contents and Read results that contain PII or secrets behind a review pane with per-type allow/redact decisions.

install pii-guard

Install

/plugin marketplace add dave-net-positive/Claude_Code_PII_Redactor
/plugin install pii-guard@net-positive-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.starttool.callcommand.runclassic.UserPromptSubmitui.closeprompt.composeprompt.submitprompt.attachmentui.render
API calls
$.command.list$.command.register$.config.list$.env.get$.fs.read$.fs.stat$.fs.write$.process.run$.prompt.submit$.session.surfaces$.store.get$.store.set$.tool.register$.ui.ask$.ui.close$.ui.invalidate$.ui.log$.ui.open$.ui.resolve$.ui.status$.ui.toast
Draws
Pane
Can see
mcp__pii-guard__pii_patterns callsclassic hooksevery promptRead calls
Reach
level 2 of 3 runs processeswrites filesdrives Claudereads filesreads env varsreads settingspersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/dave-net-positive/Claude_Code_PII_Redactor
Path in repo
pii-guard
Source commit
c007667 the exact code the scan read
Author
@dave-net-positive
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.