setup-worktree

Warn

Audited by Socket on Oct 5, 2026

1 alert found:

Anomaly
AnomalyLOW
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
Analyzed At
Oct 5, 2026, 07:14 AM
Package URL
pkg:socket/skills-sh/bleedingdev%2Ftraining-skills%2Fsetup-worktree%2F@daa0ed5579e0fcfb77eb4404f37ee3e9a11de4d84a9c903c4f35dfc11621c0bf