code-review
Pass
Audited by Gen Agent Trust Hub on Oct 31, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data in the form of pull request diffs and branch code via
gh pr diffandgit diff. This creates a surface for indirect prompt injection where an attacker could embed instructions within a PR to influence the agent's review or subsequent actions. - Ingestion points: The agent reads diff content and surrounding code context using
gh pr view,gh pr diff, andgit diff(as specified inSKILL.mdunder Decision Gates and Execution Steps). - Boundary markers: The skill lacks explicit instructions for the agent to ignore or delimit instructions found within the code diffs it is reviewing.
- Capability inventory: The skill uses
gh apito post comments and reviews, and has access togitandghCLI tools. However, it explicitly forbids merging (gh pr merge) or running tests/linters (npm test,pytest, etc.) in its 'Hard Rules'. - Sanitization: No explicit sanitization or filtering of the diff content is mentioned before the agent processes it for classification and review.
Audit Metadata