What is safety-guard?
safety-guard is a Claude Code mod by wablevaibhav that blocks risky actions before they run: recursive deletes of root or home, force pushes, pipe-to-shell installs, and writes to secret or key files. It is listed under Security and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | wablevaibhav |
| Repository | wablevaibhav/claude-mods |
| Popularity | no public popularity data yet |
| Category | Security |
| Security | Low risk (96/100) |
| Rank | #9,091 of 9,397 Claude Code mods; #915 in Security |
| License | MIT |
| Last commit | 2026-10-12 |
| Hooks | 3 events |
| Sees | Bash calls, Edit|Write calls, Read calls |
| Draws on | nothing |
Is safety-guard safe to install?
safety-guard scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 7 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 |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.command.register | |
$.state.get | |
$.state.set | |
$.ui.toast | draws interface |
How do I install safety-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/wablevaibhav/claude-mods claude plugin validate ./claude-mods/safety-guard
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add wablevaibhav/claude-mods && claude plugin install safety-guard@claude-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs safety-guard for you:
Install the "safety-guard" Claude Code mod from https://github.com/wablevaibhav/claude-mods/tree/master/safety-guard. Run claude plugin validate on it first and show me what it can access before you enable it.
More from wablevaibhav/claude-mods
This repository has 6 Claude Code mods on MCPMods.
- context-meter: Shows how full the context window is, warns at 70% and 90% so you can compact or start fresh before quality drops. (Low risk)
- git-band: A one-line git status band above the prompt: branch, ahead/behind, staged, changed and untracked counts. (Low risk)
- notes-todos: Your own persistent todo list and notes across sessions: /mytodo and /mynote, with an open-count in the status line. (Low risk)
- task-progress: Always-visible progress band above the prompt: follows the todo list automatically, lets Claude report progress with a t (Low risk)
- usage-dashboard: Claude usage dashboard pane (/usage-dashboard): 5h and weekly limit %, current and top model, pending / in-progress task (Low risk)