From secret-guard
Keeps API keys and tokens out of Claude's context, your files and your commits: hides them in tool output, and asks before a write, commit or push adds one.
3 events · 10 calls
Ships in secret-guard. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.callprocess.runfs.existsfs.listfs.readfs.statenv.getEach event it registers a hook on, with the matcher when it sets one
session.startcommand.run{command=secret-guard}tool.call{tool=Write}tool.call{tool=Edit}tool.call{tool=NotebookEdit}tool.call{tool=Bash}tool.callEvery mods API method its source calls, by namespace
registergetexistslistreadstatruncwdasktoastHOMETMPDIRWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.ts (written ./register.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.
npx claudepluginhub hamzafer/claude-code-mods --plugin secret-guard