[GitHub Trending] Dicklesworthstone/destructive_command_guard
Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.
Tool to block dangerous commands from AI agents, highly relevant and actionable.
dcg (Destructive Command Guard) is an open-source, high-performance hook that intercepts and blocks destructive commands from AI coding agents like Claude Code, Codex CLI, Gemini CLI, and Copilot CLI before they execute. It uses SIMD-accelerated filtering for sub-millisecond latency, supports 50+ security packs for databases, Kubernetes, Docker, and cloud CLIs, and includes smart context detection to avoid blocking harmless commands like grep. The tool auto-detects the platform, installs as a native binary, and configures hooks across multiple agents with zero-config protection out of the box.
Dicklesworthstone