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 usingchmod +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, andgit cleanto 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