reviewing-pr
Pass
Audited by Gen Agent Trust Hub on Nov 1, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
gh(GitHub CLI) andgitcommands to fetch PR metadata, diffs, and comments, and to post review feedback. These commands are integral to the skill's primary purpose and use standard arguments. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from pull request diffs and comments (Step 1). If a PR contains malicious instructions hidden in code comments or the diff, the agent might attempt to follow them. The skill partially mitigates this risk by instructing the agent to 'analyze' changes against a specific checklist that includes 'Security considerations and vulnerabilities.'
- Ingestion points: PR metadata, comments, and diffs are fetched via
gh pr viewandgh pr diffinSKILL.md(Step 1). - Boundary markers: No explicit delimiter strings (like XML tags or triple quotes) are defined to separate the untrusted PR content from the system instructions.
- Capability inventory: The skill has capabilities to execute shell commands (
gh,git), read files (viacat), and write to the GitHub API (posting comments and reviews). - Sanitization: There is no explicit sanitization of the PR content before it is processed by the agent.
Audit Metadata