git-guardrails-claude-code
Pass
Audited by Gen Agent Trust Hub on Oct 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONPERSISTENCE
Full Analysis
- [SAFE]: The skill implements a safety filter using a bash script to check Git commands against a list of dangerous patterns. The logic is straightforward and serves a defensive purpose.
- [COMMAND_EXECUTION]: The instructions require modifying file permissions using
chmod +xon the provided script and executing commands for verification. These actions are standard installation procedures for local hooks. - [PERSISTENCE]: The skill configures a persistent hook by modifying the
.claude/settings.jsonfile. This is the documented and intended behavior of the skill to ensure Git guardrails are active during all interactions.
Audit Metadata