pr-review-expert
Pass
Audited by Gen Agent Trust Hub on Apr 12, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it ingests and processes untrusted data from Pull Request and Merge Request contents.
- Ingestion points: The skill reads external data via
gh pr diff,gh pr view,glab mr diff, andglab mr view(e.g., in Step 1 and Step 3). - Boundary markers: No explicit boundary markers or instructions to ignore embedded malicious content within the pull request data are present.
- Capability inventory: The agent has access to sensitive environment variables (
JIRA_API_TOKEN,LINEAR_API_KEY) and can execute shell commands (npm test,pytest,curl,gh,glab). - Sanitization: The skill does not perform sanitization on the ingested content, processing it directly using
grepand passing it to test runners. - [COMMAND_EXECUTION]: In Step 4, the skill instructs the agent to run local test commands such as
npm testandpyteston the codebase being reviewed. Because this code originates from an untrusted source (a Pull Request), a malicious contributor could craft a PR that modifies test scripts (e.g., inpackage.jsonorconftest.py) to execute arbitrary malicious code when the agent attempts to run the tests locally.
Audit Metadata