create-worktree
Audited by Socket on Feb 16, 2026
1 alert found:
MalwareFunctionally the tool matches its purpose: it creates git worktrees and attempts to bootstrap dependencies automatically. There is no direct evidence in the provided spec of intentionally malicious code (no hard-coded credentials, endpoints, or obfuscation patterns). However, the automatic, non-interactive execution of package manager install commands across multiple ecosystems is a material security risk because install-time scripts and external registries can execute arbitrary code. Recommend adding safety measures: require explicit user confirmation (or opt-in flag) before running installs, provide an option to disable lifecycle scripts (or honor existing environment variables), offer an --no-install flag, validate lockfiles or signatures where available, and document the security implications. Treat this tool as convenient but potentially dangerous in adversarial or untrusted environments.