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 +x to grant execution permissions to the block-dangerous-git.sh script after it has been moved to the configuration directory.
  • [PERSISTENCE]: The skill modifies either ~/.claude/settings.json or project-specific settings to install a PreToolUse hook, which ensures the Git command guardrails persist across agent sessions.
  • [COMMAND_EXECUTION]: The guardrail script utilizes the jq utility to parse incoming JSON data from standard input to extract the intended command for pattern matching.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 16, 2026, 07:27 PM