using-git-worktrees

Pass

Audited by Gen Agent Trust Hub on Nov 29, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses Git commands to detect repository state and create worktrees. It also invokes native package managers (npm, pip, cargo, go) to install project dependencies and run tests based on detected project files.
  • [INDIRECT_PROMPT_INJECTION]: The skill reads local project metadata files such as package.json, Cargo.toml, and requirements.txt to determine the appropriate environment setup commands. This represents an ingestion surface for untrusted data from the repository being processed.
  • [SAFE]: The skill's behavior is consistent with its stated purpose of managing development workspaces. It incorporates safety checks, such as verifying that worktree directories are git-ignored and explicitly asking for user consent before creating new worktrees.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 29, 2026, 12:56 AM