git-guardrails-claude-code
Pass
Audited by Gen Agent Trust Hub on Aug 26, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill provides a defensive guardrail by intercepting and blocking high-risk git commands such as
git push --force,git reset --hard, andgit clean -fdbefore they are executed. - [SAFE]: The logic is implemented in a local bash script (
scripts/block-dangerous-git.sh) that uses standard, well-known tools likejqandgrepto process input. The script performs no network operations or unauthorized file access. - [SAFE]: The installation process involves standard configuration steps for the Claude Code platform, including setting file permissions with
chmod +xand updating~/.claude/settings.json. These actions are clearly documented and are necessary for the skill's intended safety function. - [SAFE]: No obfuscation, data exfiltration, or malicious persistence mechanisms were detected. The skill's behavior matches its stated purpose of improving repository safety.
Audit Metadata