Home / Claude Code mods / Security / redact-restore

redact-restore

redact-restore is a Claude Code mod by isandrel that reversible redaction for Claude Code: private values are replaced with placeholders before the model API sees them and restored locally. No API gateway.

Updated 2026-11-02

What is redact-restore?

redact-restore is a Claude Code mod by isandrel that reversible redaction for Claude Code: private values are replaced with placeholders before the model API sees them and restored locally. No API gateway. It is listed under Security and has 3 GitHub stars.

TypeClaude code mod
Authorisandrel
Repositoryisandrel/redact-restore
Popularity3 GitHub stars
CategorySecurity
SecurityHigh risk (48/100)
Rank#1,988 of 9,397 Claude Code mods; #244 in Security
LicenseAGPL-3.0
Last commit2026-11-02
Hooks13 events
Seescompaction, every prompt, every tool call, the system prompt
Draws onPane, ?

Is redact-restore safe to install?

redact-restore scores 48/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 3 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Watches every prompt or eventReview
Doesn't drive ClaudePass
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.command.register
$.env.getreads env vars
$.fs.listreads files
$.fs.readreads files
$.fs.statreads files
$.fs.writewrites files
$.process.runruns processes
$.session.id
$.session.messagesreads the transcript
$.session.model
$.state.get
$.state.set
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.keyskeeps its own state
$.store.setkeeps its own state
$.ui.closedraws interface
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install redact-restore?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/isandrel/redact-restore
    claude plugin validate ./redact-restore/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add isandrel/redact-restore && claude plugin install redact-restore@redact-restore

Or ask Claude to set it up

Paste this into Claude Code and it installs redact-restore for you:

Install the "redact-restore" Claude Code mod from https://github.com/isandrel/redact-restore. Run claude plugin validate on it first and show me what it can access before you enable it.