git-guardrails-claude-code
Pass
Audited by Gen Agent Trust Hub on Jul 11, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill involves making a script executable via
chmod +xand running validation tests, which are standard procedures for installing command-line utilities. - [SAFE]: The skill modifies agent configuration files (
.claude/settings.jsonor~/.claude/settings.json) to register aPreToolUsehook. While this persists across sessions, it is the primary stated purpose of the skill to provide continuous git command protection. - [SAFE]: The provided protection script (
scripts/block-dangerous-git.sh) safely extracts command inputs usingjqand performs pattern matching viagrepto identify and block destructive operations, following standard input validation practices.
Audit Metadata