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 sets up a PreToolUse hook, which is a standard platform feature for intercepting and validating commands. This involves executing a local bash script (
block-dangerous-git.sh) that reads JSON input to verify if the requested git command is allowed.- [PRIVILEGE_ESCALATION]: The installation instructions direct the user or agent to usechmod +xto make the guardrail script executable. This is a standard administrative task for installing local shell scripts and does not involve any unauthorized or dangerous privilege acquisition.
Audit Metadata