Context-Inappropriate Capability
Medium
- Confidence
- 95% confidence
- Finding
- When --install-deps is enabled, the script runs npm/yarn/pnpm/bun/pip install inside the target worktree. Package installation commonly executes arbitrary lifecycle hooks or setup code from the checked-out repository, so creating a worktree for an untrusted branch can become arbitrary code execution on the host.
