
Alternative to GitHub Copilot
The Destructive Command Guard (dcg) is for blocking dangerous git and shell commands from being executed by agents.
About
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, Cursor, and more.
Languages
Contributors3
Free alternative to GitHub Copilot
destructive_command_guard is a free, open-source alternative to GitHub Copilot. Here's why:
- 🔒 Prevent Dangerous Commands
- 🤖 AI Agent Safety Net
- ⚡️ Real-time Command Guard
- ⚙️ Customizable Blocklist
- 🚀 Works Everywhere (macOS, Win, Linux)
Comments Theme




