git-guardrails-claude-code
Pass
Audited by Gen Agent Trust Hub on Sep 6, 2026
Risk Level: SAFEPERSISTENCECOMMAND_EXECUTION
Full Analysis
- [PERSISTENCE]: The skill modifies .claude/settings.json or ~/.claude/settings.json to register a PreToolUse hook. This configuration ensures the guardrail script runs before every tool execution in the Claude Code environment.- [COMMAND_EXECUTION]: The setup instructions include a step to execute chmod +x on the block-dangerous-git.sh script to grant execution permissions.- [SAFE]: The skill's primary function is to enhance security by restricting the agent's ability to perform destructive actions. No malicious behaviors such as exfiltration, obfuscation, or remote code execution were detected.
Audit Metadata