Dicklesworthstone/destructive_command_guard
防止AI代理執行危險的git和shell命令 The Destructive Command Guard (dcg) is for blocking dangerous git and shell commands from being executed by agents.
ai-agentsclideveloper-toolsgitrustsafety
AI 分析 AI analysis
AI 閱讀專案 README 後撰寫的導讀。 Written by AI after reading the project README.
dcg 是一個用 Rust 寫的高效能命令攔截器,專門擋住 AI 編碼代理(如 Claude Code、Codex CLI)可能執行的破壞性指令,像是 git reset --hard 或 rm -rf。如果你在用 AI 輔助寫程式,尤其是讓代理直接操作終端機,這工具能避免心血被一鍵刪光。安裝簡單,開箱即用,對初學者來說幾乎零門檻。
上榜紀錄 Trending history
- 2026-07-13 每日 Daily #1