git-guardrails-claude-code
Pass
Audited by Gen Agent Trust Hub on Nov 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONPERSISTENCE
Full Analysis
- [COMMAND_EXECUTION]: The skill instructions direct the agent to use
chmod +xto grant execution permissions to theblock-dangerous-git.shscript after it has been moved to the configuration directory. - [PERSISTENCE]: The skill modifies either
~/.claude/settings.jsonor project-specific settings to install aPreToolUsehook, which ensures the Git command guardrails persist across agent sessions. - [COMMAND_EXECUTION]: The guardrail script utilizes the
jqutility to parse incoming JSON data from standard input to extract the intended command for pattern matching.
Audit Metadata