git-guardrails-claude-code
Pass
Audited by Gen Agent Trust Hub on Nov 25, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses shell commands to install scripts and perform verification tests.
- It runs
chmod +xon the bundled scriptscripts/block-dangerous-git.shafter copying it to the hooks directory. - It provides a test command using
echoand pipes to verify the script's blocking logic. - [PRIVILEGE_ESCALATION]: The skill modifies the agent's configuration to install persistent execution hooks.
- It instructs the agent to modify
.claude/settings.jsonor~/.claude/settings.jsonto add aPreToolUsehook. - This allows the skill to intercept every command processed by the Bash tool to check for dangerous patterns.
Audit Metadata