redact
by Karan Bansal · ★ 1 · updated 2 days ago
0
Redacts secrets and PII from every row Claude Code stores, before the model reads it and before the transcript keeps it. Reach L0: no network, no processes, no files.
Install
/plugin marketplace add karanb192/claude-code-redact/plugin install redact@claude-code-redactThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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.startprompt.submitsession.appendtool.callprompt.sectioncommand.run- API calls
$.command.register$.state.get$.state.set$.ui.log- Can see
every promptEdit|Write|NotebookEdit callsthe system prompt- Reach
- level 1 of 3 other: $.state.getother: $.state.setdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/karanb192/claude-code-redact
- Path in repo
plugins/redact- Author
- Karan Bansal @karanb192
- 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.