What is destructive-guard?
destructive-guard is a Claude Code mod by maximemarc that confirmation avec impact mesuré avant toute commande Bash destructive. It is listed under Security and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | maximemarc |
| Repository | maximemarc/Claude-mods |
| Popularity | no public popularity data yet |
| Category | Security |
| Security | Low risk (80/100) |
| Rank | #3,931 of 5,272 Claude Code mods; #414 in Security |
| Last commit | 2026-10-07 |
| Hooks | 1 events |
| Sees | Bash calls |
| Draws on | nothing |
Is destructive-guard safe to install?
destructive-guard scores 80/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. It passed 5 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 processes outside the sandbox | Review |
| 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 |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.process.run | runs processes |
$.ui.ask | draws interface |
$.ui.log | draws interface |
How do I install destructive-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/maximemarc/Claude-mods claude plugin validate ./Claude-mods/destructive-guard
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/maximemarc/Claude-mods && claude --plugin-dir ./Claude-mods/destructive-guard
Or ask Claude to set it up
Paste this into Claude Code and it installs destructive-guard for you:
Install the "destructive-guard" Claude Code mod from https://github.com/maximemarc/Claude-mods/tree/main/destructive-guard. Run claude plugin validate on it first and show me what it can access before you enable it.
More from maximemarc/Claude-mods
This repository has 4 Claude Code mods on MCPMods.
- agent-flow: Arbre en direct des sous-agents et de leurs outils, ouvert par /flow (Low risk)
- data-guard: Masque secrets, emails et IP dans les logs, env et git log, et demande confirmation avant de lire un fichier sensible (Low risk)
- usage-gauges: Bande projet, branche, diff et agents, jauges contexte, 5 h et hebdo, coût de session et alertes de seuil (Low risk)