git-guardrails-claude-code

Pass

Audited by Gen Agent Trust Hub on Sep 24, 2026

Risk Level: SAFECOMMAND_EXECUTIONPERSISTENCE
Full Analysis
  • [COMMAND_EXECUTION]: The skill installs a shell script (scripts/block-dangerous-git.sh) that runs as a 'PreToolUse' hook. This script intercepts tool calls to validate them against a blocklist before the agent executes the actual command.
  • [PERSISTENCE]: To maintain its protective function, the skill modifies the agent's settings files (~/.claude/settings.json or .claude/settings.json) to register the hook, ensuring that the safety check persists across agent restarts and new project sessions.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 24, 2026, 01:46 PM