git-merge-expert-worktree

Warn

Audited by Gen Agent Trust Hub on Sep 19, 2026

Risk Level: MEDIUMDATA_EXFILTRATIONREMOTE_CODE_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [DATA_EXFILTRATION]: The instructions mandate the propagation of .env files from the main repository to new worktrees (SKILL.md, references/worktree-conventions.md). This requires the agent to read and write sensitive environment variables and credentials, creating a potential exposure path for private secrets.
  • [REMOTE_CODE_EXECUTION]: The skill performs automated setup tasks including "package-manager install" and "bootstrap commands" in new workspaces (references/worktree-conventions.md). Running these commands can lead to the execution of arbitrary scripts defined in untrusted project configuration files, such as package.json lifecycle hooks.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes external, potentially untrusted data such as git history and project files, which could contain malicious instructions designed to influence the agent's behavior.
  • Ingestion points: Ingests repository state and file contents using git worktree list, git status, and file inspection tools (Read, Glob, Grep).
  • Boundary markers: The skill defines operational boundaries in the "Non-negotiable rules" and "Guardrails" sections.
  • Capability inventory: The agent has access to powerful tools including Bash for command execution and Write for file modifications.
  • Sanitization: There are no explicit instructions for sanitizing or escaping data retrieved from the repository before it is processed or used in commands.
  • [COMMAND_EXECUTION]: The skill relies on the Bash tool to perform a wide range of git and workspace management tasks. The use of shell commands to mutate system and repository state is an inherent risk, particularly when operating on data from external sources.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Sep 19, 2026, 12:23 PM