code-review
Pass
Audited by Gen Agent Trust Hub on Mar 26, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection. It ingests untrusted data from GitHub Pull Requests (PR body and diffs) using the
gh pr viewandgh pr diffcommands inSKILL.md. This external content is placed directly into the agent's context without using boundary markers (like XML tags or clear delimiters) or instructions to ignore embedded commands. A malicious contributor could craft a PR containing instructions designed to hijack the agent's behavior or misrepresent the review results. - [COMMAND_EXECUTION]: The skill uses the GitHub CLI (
gh) through shell commands to retrieve PR information. These operations are limited to theghtool as defined in theallowed-toolsmetadata and are consistent with the skill's primary purpose of reviewing code. While legitimate, this creates a dependency on an authenticated session and the local environment's CLI configuration.
Audit Metadata