Skip to content

[GitHub Trending] Dicklesworthstone/destructive_command_guard

8.4 relevance
Score Breakdown
technical depth
8
novelty
9
actionability
9
community
8
strategic
6
personal
10

Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.

Guard against dangerous agent commands, highly relevant to AI agent safety.

AI/ML github.com
The Destructive Command Guard (dcg) is for blocking dangerous git and shell commands from being executed by agents. - Dicklesworthstone/destructive_command_guard
Summary

Destructive Command Guard (dcg) is a high-performance hook for AI coding agents that blocks destructive commands like rm -rf or git reset --hard with sub-millisecond SIMD-accelerated filtering, supporting Claude Code, Codex CLI, Gemini CLI, Copilot CLI, Cursor, and Grok via one-line curl or PowerShell installs. It includes 50+ security packs for databases, cloud, and Kubernetes, plus heredoc scanning and smart context detection to avoid false positives.

Author

Dicklesworthstone