Home / Claude Code mods / Security / safety-net

safety-net

safety-net is a Claude Code mod by lakmadev that blocks catastrophic shell commands and asks before risky ones or edits to secret files.

Updated 2026-10-14

What is safety-net?

safety-net is a Claude Code mod by lakmadev that blocks catastrophic shell commands and asks before risky ones or edits to secret files. It is listed under Security and has no public popularity data yet.

TypeClaude code mod
Authorlakmadev
Repositorylakmadev/claude-mods
Popularityno public popularity data yet
CategorySecurity
SecurityLow risk (100/100)
Rank#3,770 of 5,272 Claude Code mods; #398 in Security
LicenseMIT
Last commit2026-10-14
Hooks1 events
Seesonly the events it hooks
Draws onnothing

Is safety-net safe to install?

safety-net scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 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
Passes claude plugin validatePass
Has an open-source licensePass

How do I install safety-net?

  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/lakmadev/claude-mods
    claude plugin validate ./claude-mods/plugins/safety-net
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add lakmadev/claude-mods && claude plugin install safety-net@claude-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs safety-net for you:

Install the "safety-net" Claude Code mod from https://github.com/lakmadev/claude-mods/tree/main/plugins/safety-net. Run claude plugin validate on it first and show me what it can access before you enable it.

More from lakmadev/claude-mods

This repository has 8 Claude Code mods on MCPMods.

  • changes-pane: A live pane listing every file Claude changed this session, with +/- line counts. (Low risk)
  • context-meter: Status line with context %, session cost and rate limits; warns before you hit the wall. (Low risk)
  • done-notifier: Chime, toast and desktop notification when a long turn finishes or Claude needs you. (Low risk)
  • lofi-mode: Lo-fi beats while Claude works: a soft loop starts on long turns and stops the moment it's done. /lofi toggles. (Low risk)
  • prompt-booster: Adds repo context to short prompts, plus one-word commands for common tasks. (Review before installing)
  • secrets-redactor: Scrubs API keys, tokens and private keys from prompts and tool output before the model sees them. (Low risk)
  • session-journal: Logs what you did with Claude across sessions; /journal and an AI-written /standup. (Low risk)