using-git-worktrees
Pass
Audited by Gen Agent Trust Hub on Apr 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses shell commands to facilitate Git worktree creation, directory management, and the execution of project test suites.
- [EXTERNAL_DOWNLOADS]: It automates dependency installation using standard package managers including npm, pip, poetry, and go based on the presence of project configuration files. These operations target well-known package registries.
- [PROMPT_INJECTION]: The skill reads project configuration data from CLAUDE.md and repository state from .gitignore, establishing a surface for indirect prompt injection where malicious file content could influence agent behavior. Mandatory Evidence Chain: Ingestion points: Reading preferences from CLAUDE.md and .gitignore via grep. Boundary markers: No explicit delimiters or ignore-instructions warnings are used when processing these files. Capability inventory: Significant capability to execute Git CLI, shell commands, and various language-specific build tools. Sanitization: Examples demonstrate the use of double-quoting for shell variables like path and branch names to mitigate simple command injection.
Audit Metadata