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 +x on the bundled script scripts/block-dangerous-git.sh after copying it to the hooks directory.
  • It provides a test command using echo and 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.json or ~/.claude/settings.json to add a PreToolUse hook.
  • This allows the skill to intercept every command processed by the Bash tool to check for dangerous patterns.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 25, 2026, 10:11 PM