Dicklesworthstone/destructive_command_guard
The Destructive Command Guard (dcg) is for blocking dangerous git and shell commands from being executed by agents.
Rust5.9K stars242 forks+471 today
Topics
#ai-agents#cli#developer-tools#rust#safety#git
What it does
Destructive Command Guard is a high-performance hook that blocks dangerous git and shell commands from AI coding agents, safeguarding developers' work on various platforms.
Star history
Tracking
- Last trending
- 2026-07-20
Creator kit
Hook
Protect your codebase from accidental deletion by AI coding assistants with Destructive Command Guard. #DevSecOps #CodeSecurity
Content angles
- How to integrate DCG into your existing development workflow.
- A deep dive into the security features of DCG and its impact on developer productivity.
- Comparative analysis: DCG vs other command blocking tools in the market.
Who should care
Developers, DevOps engineers, and anyone using AI coding assistants who want to ensure code safety.