move-branch-here
Pass
Audited by Gen Agent Trust Hub on Sep 3, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill automates complex Git operations such as worktree listing, detaching branches, and switching branches using the
scripts/worktree-context.shhelper script. These actions involve direct subprocess calls to thegitbinary and coordination with a sibling Node.js utility. - [INDIRECT_PROMPT_INJECTION]: The skill ingests user-controlled branch names and directory paths, which are then used in shell scripts and tool arguments, creating a potential vector for instruction injection.
- Ingestion points: User-provided
<branch>names and the--from <directory>path are ingested via the skill's command interface as described inSKILL.md. - Boundary markers: The skill's instructions do not specify delimiters or boundary markers to isolate user-supplied data from the instruction context.
- Capability inventory: The skill possesses filesystem modification capabilities via Git and command execution capabilities via
gitandnodesubprocesses in bothSKILL.mdandscripts/worktree-context.sh. - Sanitization: While variable quoting is employed in the bash script to mitigate simple shell injection, the
awkcommand in theholder_recordfunction passes the branch name using a-vflag, which can be sensitive to crafted strings containing double quotes.
Audit Metadata