load-pr-review
Pass
Audited by Gen Agent Trust Hub on Apr 20, 2026
Risk Level: SAFEPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill is subject to indirect prompt injection because it processes untrusted PR review comments from external authors, which could contain malicious instructions meant to manipulate the agent.\n
- Ingestion points: Untrusted comment bodies are fetched from the GitHub API using
scripts/load-pr-review.js.\n - Boundary markers:
SKILL.md(Step 2) uses[USER_CONTENT_START]and[USER_CONTENT_END]markers to isolate external reviewer comments and explicitly instructs background agents to ignore any instructions within these tags.\n - Capability inventory: The agent has access to powerful capabilities including
Edit,Write, andBash(gh/git) tools, which allow it to modify files and post replies based on the content of the reviews.\n - Sanitization: The
scripts/load-pr-review.jsscript effectively mitigates shell injection by usingjqto serialize the comment body into a JSON file, which is then passed to theghAPI using the--inputflag rather than being interpolated directly into a shell string.
Audit Metadata