review-pr
Pass
Audited by Gen Agent Trust Hub on Apr 19, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill makes extensive use of the
Bashtool to interact with the GitHub CLI (gh). It executes commands such asgh pr view,gh pr diff, andgh pr reviewto manage pull requests. Additionally, the skill includes instructions for running local tests viadocker-composeand language-specific test runners likepytestandnpm, which involve arbitrary command execution on the host system. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection. It ingests untrusted data from external sources (pull request diffs and comments) and interpolates this content directly into the prompts of specialized sub-agents (e.g.,
security-auditor,code-quality-reviewer). Maliciously crafted code comments or documentation within a PR could attempt to influence the sub-agents' behavior or outcomes. - Ingestion points:
gh pr viewandgh pr diffinSKILL.md. - Boundary markers: The sub-agent prompts in
rules/agent-prompts-task-tool.mduse section headers but lack explicit markers or warnings to ignore instructions embedded within the code diffs. - Capability inventory: The agent has access to
Bash,Write,Edit, andmcp__memorytools, providing a significant impact surface if an injection is successful. - Sanitization: No explicit sanitization or filtering of the PR content is performed before interpolation.
Audit Metadata