destructive_command_guard
A fast Rust safety hook that blocks destructive shell, git, and filesystem commands before AI coding agents run them. 50+ security packs (databases, Kubernetes, Docker, cloud, Terraform), heredoc/inline-script scanning, CI scan mode, and explain mode; works with Claude Code, Codex, Gemini, Copilot,
- ai-agents
- cli
- developer-tools
- rust
- safety
- git
- Stars
- 6,373
- Forks
- 271
- + today
- +1
- Created
- 11mo
Ranking data as of December 5, 2026 (UTC).
Star History
Today, hour by hour
Overview
A fast Rust safety hook that blocks destructive shell, git, and filesystem commands before AI coding agents run them. 50+ security packs (databases, Kubernetes, Docker, cloud, Terraform), heredoc/inline-script scanning, CI scan mode, and explain mode; works with Claude Code, Codex, Gemini, Copilot, It ranks #957 on GitTiger, gaining +1 star on December 5, 2026 (UTC).
The project is written in Rust and has 271 forks. It was created 11mo ago.
git clone https://github.com/Dicklesworthstone/destructive_command_guard.git
cd destructive_command_guard
# see README for setup