git-safety-hooks
Pass
Audited by Gen Agent Trust Hub on Feb 23, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [SAFE]: The skill implements a defensive mechanism using Claude Code's PreToolUse hooks. It provides a shell script that inspects command parameters and blocks destructive operations such as forced pushes, hard resets, and branch deletions.
- [COMMAND_EXECUTION]: The skill requires the user to set execution permissions on a local script (
chmod +x) and update the agent's configuration files. These steps are clearly documented and are necessary for the skill's primary function of providing security guardrails.
Audit Metadata