git-guardrails-claude-code

Pass

Audited by Gen Agent Trust Hub on Sep 1, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill implements a defensive PreToolUse hook for the Claude Code agent platform. The provided bash script effectively filters common dangerous Git commands and provides a rejection message to the agent. No network communication, external downloads, or suspicious data operations were detected. The modification of settings files is a necessary and documented step for the stated purpose of command interception. The use of chmod +x is applied to a script bundled with the skill, which is a standard deployment practice and not considered a privilege escalation finding.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 1, 2026, 02:40 PM
Security Audit — agent-trust-hub — git-guardrails-claude-code