git-guardrails

Pass

Audited by Gen Agent Trust Hub on Apr 12, 2026

Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill defines a local Bash script (scripts/block-dangerous-git.sh) and provides instructions to make it executable using chmod +x. This script is intended to be used as a pre-command hook to validate Git operations.
  • [SAFE]: The primary purpose of the skill is defensive, implementing a blocklist for destructive Git commands such as git push, git reset --hard, and git clean to prevent accidental data loss or unauthorized modifications.
  • [SAFE]: The provided code uses standard system utilities (Bash and Python 3 standard library) without performing network operations, accessing sensitive files (like credentials), or downloading external dependencies.
Audit Metadata
Risk Level
SAFE
Analyzed
Apr 12, 2026, 10:15 AM