Dicklesworthstone/destructive_command_guard

★6,397RustNOASSERTION⑂ 274Issue 13Updated Dec 5, 2026

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.

A Rust hook that stops AI coding agents from nuking your repo — dcg intercepts shell and git commands from AI coding agents like Claude Code, Codex CLI, Gemini CLI, and Cursor, blocking destructive operations before they run. It integrates as a native hook across a long list of agent tools, aiming to prevent accidental deletions in automated coding workflows.

AI agentsai-agentsclideveloper-toolsgitrustsafety

Metrics

Relative growth (7d)+0%Growth over the last 7 days relative to size
Acceleration+23%Change in growth pace from the week before
Retention+82%How well growth holds up 30 days after first trending
Attention38The three metrics scaled to 0–100 and combined

See About for how each metric is defined.

Star growth and Trending appearances (last 30 days)

+20★/day
Nov 6, 2026Dec 5, 2026
Daily trending ranks as a table (1 days)
DateDaily
Sep 22, 2026
rust #17 +9

Created Jan 8, 2026 · First on trending Sep 22, 2026

Other notable repositories in the same category (AI agents)

See all AI agents repositories →

Rank within ai-agents

#Repository★
1morluto/rea489,711
2affaan-m/ECC316,652
3deepseek-ai/deepseek-harness291,021
4NousResearch/hermes-agent268,215
5firecrawl/firecrawl216,906
6DietrichGebert/ponytail204,950
7Significant-Gravitas/AutoGPT188,279
8Graphify-Labs/graphify157,154
9stablyai/orca156,739
10garrytan/gstack142,532
141Dicklesworthstone/destructive_command_guard6,397

See all ai-agents repositories →

Get the weekly digest by email

Every Monday: the repositories that grew most last week, and how the buzz spread between the global and Japanese-language web. Unsubscribe any time. See the privacy and ad policy for how we handle your address.