pr-review-expert
Warn
Audited by Gen Agent Trust Hub on Jun 30, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONCREDENTIALS_UNSAFEDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill suggests running test suites like
npm testorpyteston code changes from external pull requests. - Evidence:
npm test -- --coverage --changedSince=mainandpytest --cov --cov-report=term-missingin SKILL.md. - Security Concern: Executing tests on untrusted code from a PR allows for potential remote code execution if the PR contains malicious logic within its test files.
- [CREDENTIALS_UNSAFE]: The skill requires and manages sensitive API tokens for Jira and Linear services.
- Evidence: Reference to
JIRA_API_TOKENandLINEAR_API_KEYin the Ticket Linking Verification section. - Security Concern: Although the skill provides advice on minimizing exposure in process lists (using stdin redirection for curl), the requirement for these tokens in the execution environment poses a credential management risk.
- [DATA_EXFILTRATION]: The skill performs network requests to external services to fetch ticket information.
- Evidence:
curlcommands targetingyour-org.atlassian.netandapi.linear.app. - Security Concern: While these are well-known services, the pattern involves sending data (ticket IDs and authentication headers) to external endpoints.
- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it processes untrusted code diffs and PR descriptions.
- Ingestion points: PR diffs are fetched via
gh pr diffand stored in/tmp/pr-$PR.diff. - Boundary markers: No explicit boundary markers or instructions to treat diff content as untrusted data are present.
- Capability inventory: The agent has the ability to execute shell commands, read/write files, and make network requests.
- Sanitization: No sanitization or filtering of the PR content is performed before the agent analyzes it, creating a surface where malicious instructions embedded in a PR could influence agent behavior.
Audit Metadata