setup-worktree
Warn
Audited by Socket on Oct 5, 2026
1 alert found:
AnomalyAnomalyscripts/setup_worktree.py
LOWAnomalyLOW
scripts/setup_worktree.py
The code is a Git workspace/worktree management utility, not evidently malware. Its main security concern is deliberate shell execution of the configured setup command, which grants arbitrary command execution to whoever controls that configuration. It also copies `.env*` by default and permits configurable destinations outside a fixed workspace boundary. Treat workspace configuration and task inputs as trusted. The fragment also contains a missing class body and will not run as written.
Confidence: 98%Severity: 56%
Audit Metadata