git-prefs
Warn
Audited by Socket on Oct 13, 2026
1 alert found:
SecuritySecurityscripts/empty-worktree.mjs
MEDIUMSecurityMEDIUM
scripts/empty-worktree.mjs
This is a deliberately destructive worktree-cleanup script, not evidence of malware. Running it without --dry-run permanently removes the selected linked worktree's contents; the root and linked-worktree checks reduce accidental scope but do not protect valuable files inside that worktree. Review the target and use --dry-run before execution.
Confidence: 99%Severity: 76%
Audit Metadata