worktree-tidy
Pass
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/worktree_tidy.pyperforms operations usingsubprocess.runto call system binaries likegit,gh,glab, andcnb. These calls are structured as argument lists withoutshell=True, which mitigates the risk of shell injection. - [DATA_EXFILTRATION]: The skill initiates network requests via CLI tools to external domains (GitHub, GitLab, and cnb.cool) to retrieve pull request metadata. While these are necessary for the skill's functionality, they constitute network activity to domains outside the standard whitelist.
- [INDIRECT_PROMPT_INJECTION]: The skill processes potentially untrusted metadata from Git repositories, such as commit messages, which could be used for indirect prompt injection attacks.
- Ingestion points: Commit subjects are extracted from
git logand filenames fromgit statusinscripts/worktree_tidy.py. - Boundary markers: No explicit delimiters are used in the script's output to separate untrusted content from instructional output.
- Capability inventory: The skill can execute
git worktree removeandgit branch -Dbased on its analysis. - Sanitization: The script does not sanitize or escape commit subjects or filenames before they are included in the report provided to the AI agent.
Audit Metadata