From secret-scrubber
Redacts secret patterns from prompts, shell commands and shell output, blocks writes that contain secrets, and denies reads and mentions of secret files.
3 events · 0 calls
Ships in secret-scrubber. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.callprompt.submitEach event it registers a hook on, with the matcher when it sets one
prompt.submittool.call{tool=Bash|PowerShell}tool.call{tool=Edit|Write|MultiEdit|NotebookEdit}tool.call{tool=Read}prompt.mentionWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.js (written ./register.js)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.
npx claudepluginhub kenhuangus/claude-code-security-mods --plugin secret-scrubber