secret-guard
by AnnihilationWizard · ★ 0 · updated 25 days ago
0
Add a gitleaks pre-commit hook to each Git project you open in Claude Code, with pre-commit, Lefthook or Husky
Install
/plugin marketplace add AnnihilationWizard/secret-guard/plugin install secret-guard@secret-guardThen 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.call- API calls
$.clock.after$.command.register$.fs.exists$.fs.read$.fs.write$.process.run$.session.cwd$.store.get$.store.set$.ui.toast- Can see
EnterWorktree calls- Reach
- level 2 of 3 runs processeswrites filesreads filespersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/AnnihilationWizard/secret-guard
- Path in repo
- repository root
- Source commit
3fbe50fthe exact code the scan read- Author
- @AnnihilationWizard
- 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.