destructive_command_guard

destructive_command_guard

Alternative to GitHub Copilot

The Destructive Command Guard (dcg) is for blocking dangerous git and shell commands from being executed by agents.

6.4k 271
NOASSERTION
last commit 2026-07-13
Source
Share:

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)
See all open-source alternatives to GitHub Copilot
Comments Theme
slug: destructive-command-guard