What is security-guard?
security-guard is a Claude Code mod by UsamaSadiq that checks git commit and PR commands against the rules in your own and the project's CLAUDE.md files. It is listed under Security and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | UsamaSadiq |
| Repository | UsamaSadiq/claude-mods |
| Popularity | no public popularity data yet |
| Category | Security |
| Security | Low risk (84/100) |
| Rank | #4,953 of 5,272 Claude Code mods; #510 in Security |
| License | MIT |
| Last commit | 2026-10-11 |
| Hooks | 1 events |
| Sees | Bash calls |
| Draws on | nothing |
Is security-guard safe to install?
security-guard scores 84/100 on the MCPMods security check: Low risk. Things to review: reads environment variables. It passed 6 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.read | reads files |
$.model.complete | drives Claude |
$.session.root |
How do I install security-guard?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/UsamaSadiq/claude-mods claude plugin validate ./claude-mods/plugins/security-guard
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add UsamaSadiq/claude-mods && claude plugin install security-guard@claude-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs security-guard for you:
Install the "security-guard" Claude Code mod from https://github.com/UsamaSadiq/claude-mods/tree/main/plugins/security-guard. Run claude plugin validate on it first and show me what it can access before you enable it.
More from UsamaSadiq/claude-mods
This repository has 8 Claude Code mods on MCPMods.
- cross-fire: Holds destructive shell commands (rm -r, force pushes, hard resets, DROP TABLE) for your confirmation and says what they (Low risk)
- erp-log-nudge: Reminds you late on weekdays to log your ERP time when today is still empty, pointing at /generate-erp-logs (Low risk)
- render-md: Renders the Markdown files Claude edits in a side pane, plus /render-md to open any Markdown file (Low risk)
- ringtones: Short synthesized chimes when a long turn finishes, a call is blocked, a turn fails or you ship (Low risk)
- session-resume: Picks the session back up with "continue" when a rate-limit window resets after a limit stopped your turn (Low risk)
- terminal-pet: A cat in the empty prompt box that reacts to your day, plus /pet-stats silly stats (Low risk)
- usage-band: Session and weekly plan usage as gauges in a bar above the prompt (Low risk)