Destructive Command Guard: Protecting AI Coding Agents from Dangerous Commands
Destructive Command Guard (dcg) is an open-source security hook that protects AI coding agents from executing harmful shell and Git commands. It intercepts commands before execution and blocks risky actions such as deleting files, resetting repositories, dropping databases, or modifying cloud resources. The tool addresses emerging risks in agentic software development by adding guardrails that help prevent accidental or unauthorized destructive actions by AI assistants operating with elevated privileges.
https://github.com/Dicklesworthstone/destructive_command_guard
Comments
Post a Comment