git-guardrails-claude-code
Pass
Audited by Gen Agent Trust Hub on Jul 27, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill provides instructions to create a local bash script (
git-guardrails.sh) and use thechmod +xcommand to make it executable as a PreToolUse hook for Claude Code. - [SAFE]: No malicious behavior, obfuscation, or data exfiltration was detected. The script is entirely defensive, requires manual setup by the user, and operates within the local environment to protect against accidental data loss from destructive Git operations.
Audit Metadata