ship
Warn
Audited by Socket on Apr 14, 2026
1 alert found:
AnomalyAnomalyscripts/ship-worktree.sh
LOWAnomalyLOW
scripts/ship-worktree.sh
No clear indicators of covert malware (exfiltration, persistence, cryptomining) are present in this snippet. However, the cleanup path can execute an arbitrary shell command sourced from a JSON state field (isolatedEnv.teardownCommand) using bash -lc, which constitutes a high-impact RCE/sabotage risk if the state file can be tampered with or is not strictly trusted. Apart from that, the script mainly performs local Git worktree/branch management with some safety checks.
Confidence: 70%Severity: 68%
Audit Metadata