What is safety-net?
safety-net is a Claude Code mod by TroyJLorents-GH that blocks destructive tool calls before they run (force pushes, rm -rf outside the project, DROP TABLE, terraform destroy, writes to .env and keys, ...) and explains why. It is listed under Security and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | TroyJLorents-GH |
| Repository | TroyJLorents-GH/mod-squad |
| Popularity | 1 GitHub stars |
| Category | Security |
| Security | Low risk (84/100) |
| Rank | #2,355 of 5,272 Claude Code mods; #280 in Security |
| Last commit | 2026-10-13 |
| Hooks | 3 events |
| Sees | every tool call |
| Draws on | nothing |
Is safety-net safe to install?
safety-net 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 |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.session.cwd | |
$.session.root | |
$.state.get | |
$.state.set | |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install safety-net?
- 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/TroyJLorents-GH/mod-squad claude plugin validate ./mod-squad/mods/safety-net
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add TroyJLorents-GH/mod-squad && claude plugin install safety-net@mod-squad
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/TroyJLorents-GH/mod-squad/tree/main/mods/safety-net. Run claude plugin validate on it first and show me what it can access before you enable it.
More from TroyJLorents-GH/mod-squad
This repository has at least 9 Claude Code mods on MCPMods.
- burn-rate: A terminal cost dashboard (/burn): spend by day, project, model, activity, tools, shell commands and MCP servers, read f (Review before installing)
- context-gauge: A band above the prompt showing how full the context window is, shading green → orange → red, with a nudge to /compact a (Low risk)
- model-router: Routes each turn to the cheapest model + effort that fits the task (Haiku 5.5 → Sonnet 5.5 → Opus 5.5 → Fable 5.1) and s (Low risk)
- ping: Plays a chime and shows a toast when a long turn finishes (or Claude is waiting on your approval), so you can walk away. (Low risk)
- secret-scrubber: Redacts API keys, tokens, private keys and .env secrets from tool output before the transcript stores it and before the (Low risk)
- session-graph: A knowledge graph across your Claude Code sessions. Each session records its topics and files; when another session cove (High risk)
- standup: /standup: click Generate and get a written standup of everything you got done today, grouped by project, from your local (High risk)
- stock-watch: /stock: watch tickers and get a chime when one reaches the low or high you set. Works any time, in any session. (High risk)