From secret-redactor
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.
1 event · 1 call
Ships in secret-redactor. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.callEach event it registers a hook on, with the matcher when it sets one
tool.callEvery mods API method its source calls, by namespace
logWhere Claude Code finds the mod
hooks/hooks.jsonhooks/secret-redactor.ts (written ./secret-redactor.ts)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
Generated from the plugin's indexed repository (davila7/claude-code-templates) — no native marketplace selected
npx claudepluginhub p/davila7-secret-redactor-cli-tool-components-mods-security-secret-redactor