wt-create
Warn
Audited by Gen Agent Trust Hub on Sep 22, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/worktree.pyreads shell commands from a.worktreerc.ymlfile in the repository root and executes them usingsubprocess.run(shell=True). This allows for arbitrary shell command execution based on local configuration files. - [REMOTE_CODE_EXECUTION]: The skill enables execution of commands defined within the project being worked on. If a repository contains malicious instructions in its configuration file, the agent will execute them in the user's environment.
- [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to instructions embedded in the repository configuration that influence the agent's actions.
- Ingestion points:
scripts/worktree.pyreads.worktreerc.yml(or.yaml) via theload_worktreercfunction. - Boundary markers: Absent. The script does not validate or sanitize the commands before execution.
- Capability inventory:
scripts/worktree.pyusessubprocess.run(shell=True)for command execution andshutil.copytree/shutil.copy2for file system operations. - Sanitization: Absent. The commands are passed directly to the shell as provided in the YAML file.
- [DYNAMIC_EXECUTION]: The skill dynamically executes shell commands at runtime based on the contents of the
post_createsection in the project's YAML configuration file.
Audit Metadata