security-guard
by Usama Sadiq · ★ 0 · updated 7 days ago
Checks git commit and PR commands against the rules in your own and the project's CLAUDE.md files
Install
/plugin marketplace add UsamaSadiq/claude-mods/plugin install security-guard@claude-modsThen 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
tool.call- API calls
$.env.get$.fs.exists$.fs.read$.model.complete$.session.root- Can see
Bash calls- Reach
- level 2 of 3 drives Claudereads filesreads env vars
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/UsamaSadiq/claude-mods
- Path in repo
plugins/security-guard- Source commit
7f5b31bthe exact code the scan read- Author
- Usama Sadiq @UsamaSadiq
- 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.
More from UsamaSadiq/claude-mods
cross-fire
UsamaSadiq/claude-mods
Holds destructive shell commands (rm -r, force pushes, hard resets, DROP TABLE) for your confirmation and says what they would hit
erp-log-nudge
UsamaSadiq/claude-mods
Reminds you late on weekdays to log your ERP time when today is still empty, pointing at /generate-erp-logs
render-md
UsamaSadiq/claude-mods
Renders the Markdown files Claude edits in a side pane, plus /render-md to open any Markdown file
ringtones
UsamaSadiq/claude-mods
Short synthesized chimes when a long turn finishes, a call is blocked, a turn fails or you ship
session-resume
UsamaSadiq/claude-mods
Picks the session back up with "continue" when a rate-limit window resets after a limit stopped your turn
terminal-pet
UsamaSadiq/claude-mods
A cat in the empty prompt box that reacts to your day, plus /pet-stats silly stats
usage-band
UsamaSadiq/claude-mods
Session and weekly plan usage as gauges in a bar above the prompt