Hacker GitHub

← All repos

Dicklesworthstone/destructive_command_guard

View on GitHub ↗ ★ 6,318 Rust

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.

6 mentions on Hacker News by 5 people: 3 stories, 3 comments · first 2026-01-25 · latest 2026-07-12

Mentions per year 6 mentions · busiest year 2026 (6)
20082026
  1. ▲ 2
    Show HN: Block dangerous Git and shell commands from being executed by agents
    story by adithyaharish · 2026-07-12 · 0 comments
  2. ▲ 3
    Show HN: Destructive_command_guard (Dcg)
    story by eigenvalue · 2026-01-31 · 0 comments
  3. ▲ 2
    Destructive Command Guard
    story by Dowwie · 2026-01-25 · 0 comments