git-guardrails-claude-code

Pass

Audited by Gen Agent Trust Hub on Aug 30, 2026

Risk Level: SAFEPERSISTENCEPRIVILEGE_ESCALATIONCOMMAND_EXECUTION
Full Analysis
  • [PERSISTENCE]: The skill registers a PreToolUse hook in the agent's configuration files (~/.claude/settings.json or .claude/settings.json), ensuring the safety script runs automatically in subsequent sessions.\n- [PRIVILEGE_ESCALATION]: The instructions specify using chmod +x on the local hook script to grant it execution rights, which is necessary for the hook to be invoked by the shell.\n- [COMMAND_EXECUTION]: The hook script (scripts/block-dangerous-git.sh) processes input using jq and grep to evaluate and intercept command execution based on specific Git patterns.
Audit Metadata
Risk Level
SAFE
Analyzed
Aug 30, 2026, 06:39 PM