pr-review-loop
Pass
Audited by Gen Agent Trust Hub on Mar 27, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes shell commands using the
ghCLI andgitto perform its primary functions: fetching PR status, viewing comments, committing fixes, and pushing changes. These operations are restricted to the local repository and the specific pull request context.\n- [DATA_EXFILTRATION]: The skill reads pull request data, including review comments and thread status, using the GitHub GraphQL API. This information is processed locally by the agent to determine the necessary code modifications and is not transmitted to unauthorized external endpoints.\n- [EXTERNAL_DOWNLOADS]: The skill is installed usingnpx skills add, which fetches the skill configuration from the author's repository. This is a standard installation procedure for the platform and targets a vendor-owned resource.\n- [PROMPT_INJECTION]: The skill processes external data (PR comments) that could contain malicious instructions. It effectively mitigates this risk by usingjq --rawfileand quoted heredocs ('EOF') when interacting with the shell and APIs, ensuring the agent remains in control of the execution flow.\n - Ingestion points: PR comments are retrieved via
gh api graphqlas defined inSKILL.md.\n - Boundary markers: The workflow follows a strict triage-and-fix loop, utilizing local plan files (
.pr-review/plan-*.md) to isolate the processing of each comment.\n - Capability inventory: Uses the
ghCLI for GitHub interactions andgitfor file system changes.\n - Sanitization: Implements robust input handling via
jqto sanitize content before it is used in API requests.
Audit Metadata