using-git-worktrees
Pass
Audited by Gen Agent Trust Hub on Nov 1, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill reads and follows instructions from untrusted project files like
CLAUDE.mdto determine directory preferences and executes scripts defined in project configuration files. - Ingestion points: Reads
CLAUDE.mdviagrepfor worktree directory preferences; detectspackage.json,Cargo.toml,requirements.txt,pyproject.toml, andgo.modto trigger setup and test commands. - Boundary markers: None identified; instructions extracted from
CLAUDE.mdor inferred from project files are processed without explicit delimiters or safety warnings. - Capability inventory: Executes shell commands for package installation (
npm install,cargo build,pip install,poetry install,go mod download), runs test suites (npm test,cargo test,pytest,go test ./...), and performs Git operations includinggit commitandgit worktree add. - Sanitization: None; the agent is instructed to use preferences found in
CLAUDE.md"without asking" and to "auto-detect and run" setup commands based on file presence. - [COMMAND_EXECUTION]: The skill automatically executes setup and test commands. This involves running code defined within the project's metadata (such as npm scripts or test suites), which is a common practice in development but technically executes arbitrary code from the current workspace.
- [SAFE]: The use of standard package managers (npm, pip, cargo, poetry, go) to fetch dependencies from well-known registries is a routine development task and is considered safe behavior for a development-oriented skill.
Audit Metadata