Skip to main content
Back to trending

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
View on GitHub
Stars
6,373
Forks
271
+ today
+1
Created
11mo

Ranking data as of December 5, 2026 (UTC).

Star History

Today, hour by hour

6,373 stars
01

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.

Installation
git clone https://github.com/Dicklesworthstone/destructive_command_guard.git
cd destructive_command_guard
# see README for setup