git-worktree
Pass
Audited by Gen Agent Trust Hub on Oct 17, 2026
Risk Level: SAFEDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DATA_EXPOSURE_AND_EXFILTRATION]: Accesses sensitive environment configuration files.
- Evidence: The script identifies and symlinks
.envand.env.prodfiles from the parent directory into the newly created worktree. - [INDIRECT_PROMPT_INJECTION]: Vulnerable to command injection if the agent processes malicious input as a branch name.
- Ingestion points: The script takes a branch name directly from the first command-line argument (
$1) inSKILL.md. - Boundary markers: Absent. There are no delimiters or instructions to treat the branch name strictly as data.
- Capability inventory: The skill executes several shell commands (
git,cd,ln,basename) inSKILL.md. - Sanitization: Absent. The branch name variable
$BRANCHis interpolated directly into shell commands without escaping or validation.
Audit Metadata