Home / Claude Code mods / Security / safety-guard

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.

Updated 2026-10-12

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.

TypeClaude code mod
Authorwablevaibhav
Repositorywablevaibhav/claude-mods
Popularityno public popularity data yet
CategorySecurity
SecurityLow risk (96/100)
Rank#9,091 of 9,397 Claude Code mods; #915 in Security
LicenseMIT
Last commit2026-10-12
Hooks3 events
SeesBash calls, Edit|Write calls, Read calls
Draws onnothing

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.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.command.register
$.state.get
$.state.set
$.ui.toastdraws interface

How do I install safety-guard?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)