git-guardrails-claude-code
Warn
Audited by Runlayer on Feb 23, 2026
Risk Level: MEDIUM
Scan Summary
Flagged Files (2)
scripts/block-dangerous-git.shHIGH
84.5%
Malicious tool definition detected
Tool: scripts/block-dangerous-git.sh Description: #!/bin/bash INPUT=$(cat) COMMAND=$(echo "$INPUT" | jq -r '.tool_input.command') DANGEROUS_PATTERNS=( "git push" "git reset --hard" "git clean -fd" "git clean -f" "git branch -D" "git checkout \."
SKILL.mdHIGH
78.3%
Malicious tool definition detected
Tool: SKILL.md Description: --- name: git-guardrails-claude-code description: Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute.
Audit Metadata