worktree
Warn
Audited by Gen Agent Trust Hub on Apr 7, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSCREDENTIALS_UNSAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill executes a local shell script
scripts/claude-wt.shfor all its primary functions. The content and logic of this script are not provided, preventing verification of its safety, handling of user-supplied arguments, or potential side effects on the host system. - [CREDENTIALS_UNSAFE]: The procedure automatically copies
.env.localfiles to directories at../worktrees/. As.envfiles typically contain secrets, API keys, and other credentials, this programmatic movement of sensitive data to unmanaged locations outside the project root increases the risk of credential exposure. - [EXTERNAL_DOWNLOADS]: The skill automatically runs
npm installin newly created worktrees. This triggers the download and execution of third-party code from external package registries, which poses a supply chain risk if the target branch or its dependencies are compromised. - [COMMAND_EXECUTION]: The skill processes user-supplied
$ARGUMENTSinto shell commands. While thenewcommand mentions sanitization to a slug, other subcommands such asremove <name>do not explicitly state sanitization steps, potentially exposing the system to command injection if the underlying script handles the input unsafely.
Audit Metadata