worktree
Pass
Audited by Gen Agent Trust Hub on Nov 24, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the Bash tool to perform git operations on the host filesystem, specifically managing worktree lifecycles with commands such as
git worktree addandgit worktree remove. - [INDIRECT_PROMPT_INJECTION]: The skill ingests metadata (worktree names and branch names) which is interpolated into shell commands, creating a potential attack surface if inputs are not validated.
- Ingestion points: User or agent-provided
nameandbase_branchparameters used in theCreate WorktreeandCleanup Worktreeoperations defined inSKILL.md. - Boundary markers: No delimiters or instructions are used to distinguish injected input from the command context.
- Capability inventory: The skill maintains permissions to execute shell commands via the Bash tool to manipulate the repository structure.
- Sanitization: There are no documented validation, filtering, or escaping steps for the input variables before they are concatenated into command strings.
Audit Metadata