git-guardrails-claude-code
Pass
Audited by Gen Agent Trust Hub on Sep 13, 2026
Risk Level: SAFEPERSISTENCECOMMAND_EXECUTION
Full Analysis
- [PERSISTENCE]: The skill configures a persistent PreToolUse hook by modifying either the project-specific (.claude/settings.json) or global (~/.claude/settings.json) configuration files. This hook is designed to intercept Bash tool calls across all future sessions to enforce safety constraints.\n- [COMMAND_EXECUTION]: The skill uses a local Bash script (scripts/block-dangerous-git.sh) that is executed whenever a Bash tool is invoked. The setup involves modifying script permissions (chmod +x) and relies on the jq utility to parse command arguments from the tool's input stream.
Audit Metadata