pr-review
Pass
Audited by Gen Agent Trust Hub on Oct 28, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill's primary function is to ingest and analyze untrusted data from GitHub pull requests, creating an attack surface for indirect prompt injection.
- Ingestion points: The skill reads PR titles, descriptions, and comments through
gh pr viewand custom GraphQL queries inscripts/state.sh. It also ingests the entire code diff and surrounding context viagit diffandgit worktreeoperations defined inSKILL.md. - Boundary markers: The skill employs HTML comment markers (e.g.,
<!-- pr-review-state -->) to manage its own state within PR comments. However, the subagent prompts provided inreferences/prompts.mddo not include explicit 'ignore' instructions or delimiting strategies to prevent the agent from obeying malicious instructions embedded within the PR code or comments. - Capability inventory: Across its scripts and instructions, the skill has the capability to perform repository operations (
git), read environment data, and execute network-enabled commands via the GitHub CLI (gh api) to post or modify reviews and comments. - Sanitization: The
scripts/state.shutility demonstrates good practice by usingjqto build JSON payloads for the GitHub API, which prevents structured data injection. However, it does not perform sanitization or filtering of the natural language content before passing it to the subagents for analysis.
Audit Metadata