git-worktree
Pass
Audited by Gen Agent Trust Hub on Jun 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: The
git_worktree.pyscript executesgitanddirenvcommands usingsubprocess.run. It employs a strict regex validation (^[a-zA-Z0-9/_-]+$) on the worktree name argument to prevent shell injection attacks. - [COMMAND_EXECUTION]: The skill's language-specific setup references instruct the agent to use standard development tools and package managers (such as
npm,yarn,pnpm,go,cargo, anduv) to manage dependencies and run build/test tasks. - [EXTERNAL_DOWNLOADS]: Following the project setup instructions for Node.js, Python, Go, and Rust involves downloading dependencies from official software registries (e.g., npm, PyPI).
- [DATA_EXFILTRATION]: The skill automates the copying of local configuration files like
.envand.envrcinto the newly created worktree. The documentation includes explicit warnings against printing, logging, or otherwise exposing the contents of these sensitive files.
Audit Metadata