new-worktree

Pass

Audited by Gen Agent Trust Hub on Oct 29, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill constructs and executes shell commands using variables that are derived from user requests.
  • Evidence: In SKILL.md, user-influenced variables such as {branch_name} and {sibling_worktree_path} are interpolated directly into shell commands like git worktree add -b {branch_name} {sibling_worktree_path} ${TARGET_BASE} and gh repo set-default origin.
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted user input to determine branch and folder names which are then used in sensitive shell operations.
  • Ingestion points: User prompts describing a fix or feature (e.g., "fix flutter issue #12345") are used to generate branch names in SKILL.md.
  • Boundary markers: None identified in the instruction set.
  • Capability inventory: The skill utilizes git and gh CLI tools to modify the local filesystem and interact with remote repositories as described in SKILL.md.
  • Sanitization: The skill relies on natural language instructions ("Derive a clean, hyphen-separated branch name") for the agent to sanitize input rather than implementing programmatic escaping or validation logic.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 29, 2026, 02:13 AM