pr-worktree
Pass
Audited by Gen Agent Trust Hub on Oct 29, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill relies on executing shell commands including
git,gh(GitHub CLI), and package managers likenpmoryarnto automate worktree management and environment setup. - [INDIRECT_PROMPT_INJECTION]: The skill ingests data from issue descriptions and PR metadata to construct branch names and file paths, creating a potential attack surface.
- Ingestion points: Variables such as
DESC,ISSUE_NUM, andPR_NUMBERinSKILL.mdare populated from external PR data or task descriptions. - Boundary markers: The instructions do not provide delimiters or warnings to ignore embedded instructions in the processed data.
- Capability inventory: The skill uses
git,gh, and shell scripts to perform network requests, file system changes, and command execution. - Sanitization: While the skill uses
trto handle slashes in directory names, it does not explicitly sanitize other shell metacharacters (e.g., semicolons, backticks) in user-provided strings likeDESC, which could be exploited for command injection if the agent does not validate inputs.
Audit Metadata