secret-redact
by Samy Kantari · ★ 0 · updated 15 Oct 2026
0
Masks passwords, keys, salts and tokens in tool outputs (Read, Bash, any tool_result) before Claude reads them. WordPress-aware.
Install
/plugin marketplace add samykantari/secret-redact/plugin install secret-redact@secret-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.startcommand.runtool.callsession.append- API calls
$.command.register$.env.get$.fs.exists$.fs.list$.fs.read$.session.cwd$.ui.log$.ui.status- Can see
Read callsBash calls- Reach
- level 1 of 3 reads filesreads env varsdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/samykantari/secret-redact
- Path in repo
- repository root
- Source commit
86cde48the exact code the scan read- Author
- Samy Kantari @samykantari
- 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.