git-guardrails-claude-code

Pass

Audited by Gen Agent Trust Hub on Aug 26, 2026

Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses the chmod +x command to make a shell script executable. This is a standard and expected operation for setting up local tool hooks within the Claude Code environment.
  • [COMMAND_EXECUTION]: The bundled script block-dangerous-git.sh is designed to be executed as a PreToolUse hook. It inspects incoming shell commands and uses grep to block specific git patterns (force-push, reset --hard, etc.). This is a defensive security control intended to restrict the AI's power, not to gain unauthorized access.
Audit Metadata
Risk Level
SAFE
Analyzed
Aug 26, 2026, 10:09 AM
Security Audit — agent-trust-hub — git-guardrails-claude-code