secret-redactor 0.2.0
Redacts API keys, tokens, JWTs, private keys and connection strings from every tool result before the model reads them, notes the redaction through context, and refuses to echo a redacted placeholder back into a Bash command. A tool.call hook in the after placement.
Install
git clone https://github.com/davila7/claude-code-templates.git claude --plugin-dir claude-code-templates/cli-tool/components/mods/security/secret-redactor
Run in a terminal. Claude Code loads the mod from that folder for the session.
Hooks into
- Tool calls