← Discover
GitHub · Dicklesworthstone/destructive_command_guard↑ +444 today

Command protection for AI agents

Destructive Command Guard is a security layer developed to prevent dangerous git and shell commands run by artificial intelligence agents. Written in Rust, this tool reduces the risks of unwanted data loss or system damage by auditing command execution processes at the system level.

Updates

  • November 1, 2026: Stars 6,114 → 6,238, latest release v0.16.0 (November 1, 2026).
  • October 8, 2026: Stars 6,074 → 6,114, latest release v0.15.3 (October 8, 2026).
  • October 1, 2026: Stars 6,072 → 6,074, latest release v0.15.2 (October 1, 2026).
  • September 29, 2026: Stars 6,070 → 6,072, latest release v0.15.1 (September 29, 2026).

What you get

  • Blocks dangerous commands before they are executed
  • Reduces the risk of data loss and system damage
  • Provides comprehensive protection with more than 50 security packages

Installation

Installation for Linux and macOS
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/destructive_command_guard/main/install.sh?$(date +%s)" | bash -s -- --easy-mode

If you don't write code

Paste this into your AI agent (Claude Code · Codex · Antigravity)

I use Destructive Command Guard to control the commands my AI agent runs on my system. Please consider security rules before running dangerous git, file system or database deletion commands, if you need to take a risky action, inform me first and get my approval.

Repository: https://github.com/Dicklesworthstone/destructive_command_guard. Follow the official instructions in the README of this repository for setup and execution.

Before starting, check which OS we are on and if the necessary tools (e.g., Python, Node.js, Git, Docker) are installed. Install any missing ones step-by-step according to this system.

Create a new, empty folder to work in. Do not touch any files outside this folder and do not delete anything. Tell me what you are going to do in one sentence before running each command.

Tell me what I should see on the screen at the end of each step. If an error occurs, I will paste the error message to you exactly as it is, and we will fix it together.

Related dictionary terms

Who it is forIt is for software developers who use artificial intelligence-supported coding agents and do not want to risk accidentally deleting data.

Links

TreScout did not build this tool · we found it in GitHub trends and wrote it up. This page describes the repository as of 2026-07-13: The star count and our text belong to that day, the repository may have changed since. Check the repository link for the current state. The introductory text was prepared with AI from the repository's own documentation, and this page was machine-translated from the Turkish original · the Turkish version prevails.