skills/trailofbits/skills/git-cleanup/Gen Agent Trust Hub

git-cleanup

Pass

Audited by Gen Agent Trust Hub on Apr 29, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill uses standard Git commands for repository analysis and maintenance, which is consistent with its stated purpose.
  • [SAFE]: It implements a "Safety First" principle with two distinct confirmation gates using the AskUserQuestion tool, ensuring no destructive actions occur without explicit user approval.
  • [SAFE]: The skill programmatically identifies and excludes protected branches like main, master, and develop from cleanup operations.
  • [SAFE]: It provides specific instructions to mitigate shell injection risks by quoting branch name variables in commands.
  • [SAFE]: The skill includes logic to detect uncommitted changes in worktrees, preventing accidental loss of work.
Audit Metadata
Risk Level
SAFE
Analyzed
Apr 29, 2026, 08:12 PM
Security Audit — agent-trust-hub — git-cleanup