git-guardrails-claude-code
Pass
Audited by Gen Agent Trust Hub on Jun 25, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [SAFE]: The skill's primary function is defensive; it is designed to protect the user's repository from accidental destructive actions by the AI agent.
- [COMMAND_EXECUTION]: The skill sets up a local bash script (
scripts/block-dangerous-git.sh) to be executed as a 'PreToolUse' hook. This script validates Git commands against a list of dangerous patterns before they are allowed to run. The script relies on the standardjqutility to parse JSON inputs from the agent environment.
Audit Metadata