git-guardrails-claude-code

Pass

Audited by Gen Agent Trust Hub on Sep 14, 2026

Risk Level: SAFECOMMAND_EXECUTIONPERSISTENCE
Full Analysis
  • [COMMAND_EXECUTION]: The skill installs and configures a local Bash script (scripts/block-dangerous-git.sh) designed to be executed by the agent's host platform as a 'PreToolUse' hook. This script performs basic pattern matching on commands to intercept and block actions like 'git reset --hard' or 'git push --force'.
  • [PERSISTENCE]: The skill instructs the agent to modify the global (~/.claude/settings.json) or project-level (.claude/settings.json) configuration files. This ensures the safety hook is automatically loaded and active for future sessions of the agent in that environment.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 14, 2026, 01:31 AM