PlugMyPlugin
โ† Browse

guardrails

fvadicamo โ˜… 72

guardrails is a PreToolUse hook that prevents destructive Bash commands during Claude Code execution by hard-blocking catastrophic operations like rm -rf / and docker volume rm, while allowing safe deletions within the workspace scope after confirming ambiguous cases. It inspects normalized command syntax with heredocs and comments stripped, making it effective against accidental or malicious filesystem damage without impeding legitimate development work.

Security DevOps free runs shell

Install

> /plugin marketplace add fvadicamo/dev-agent-skills/tree/HEAD/plugins/guardrails
> /plugin install guardrails

Source: https://github.com/fvadicamo/dev-agent-skills/tree/HEAD/plugins/guardrails

What it's made of

1 hook

Commands
0
Agents
0
Skills
0
MCP servers
0
Hooks
1 ยท PreToolUse

What it needs & plugs into

API keys
none
Paid services
none detected
External tools
bash
Talks to
nothing external detected

Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.

Is this your plugin?

Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (fvadicamo).