redact-restore
by isandrel · ★ 3 · updated 19 days ago
0
Reversible redaction for Claude Code: private values are replaced with placeholders before the model API sees them and restored locally. No API gateway.
Install
/plugin marketplace add isandrel/redact-restore/plugin install redact-restore@redact-restoreThen 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.startsession.endprompt.submitprompt.contextprompt.attachmentprompt.composesession.appendsession.compactturn.steptool.callcommand.runui.closeui.render- API calls
$.command.register$.env.get$.fs.list$.fs.read$.fs.stat$.fs.write$.process.run$.session.id$.session.messages$.session.model$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.ui.close$.ui.log$.ui.open$.ui.resolve$.ui.status$.ui.toast- Draws
Pane- Can see
every promptthe system promptcompactionevery tool call- Reach
- level 2 of 3 runs processeswrites filesreads filesreads env varsreads the transcriptreads mod statepersists 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/isandrel/redact-restore
- Path in repo
- repository root
- Source commit
124869cthe exact code the scan read- Author
- @isandrel
- License
- AGPL-3.0
- 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.