review-pr
Pass
Audited by Gen Agent Trust Hub on Oct 17, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill fetches Pull Request metadata and diffs from GitHub using the official
ghCLI. It also retrieves tracking information from Linear using established MCP tools and fetches author notes from Polygraph, which are well-known services and internal vendor tools. - [COMMAND_EXECUTION]: The skill executes multiple local shell commands and scripts to orchestrate the review process. This includes running a build script
tools/review-sandbox/build-image.shand a bundled utilityscripts/replay-prior-patch.shto manage PR checkouts and incremental diffs. All execution of untrusted PR code (tests, builds, reproductions) is strictly routed through an isolated sandbox CLI (.claude/tools/sandbox). - [DYNAMIC_EXECUTION]: The skill dynamically constructs shell commands to perform deep verification and finding validation. It includes explicit, robust safety mitigations, such as a numeric-only
casegate forsedoperations and a strict character filter (blocking shell metacharacters like;,&,|, and$) for reproduction commands, preventing code execution on the host system. - [INDIRECT_PROMPT_INJECTION]: The skill possesses an attack surface for indirect prompt injection as it processes untrusted data from GitHub PRs (code, comments, descriptions) and external tickets.
- Ingestion points: Data is ingested via
gh pr view,gh pr diff,mcp__plugin_linear_linear__get_issue, andpolygraph session show(documented in SKILL.md). - Boundary markers: The skill uses a structured "Review Charter" that mandates an "admission test" for findings and explicitly instructs agents to ground verification in ticket grounding rather than potentially malicious PR body claims.
- Capability inventory: The skill has significant capabilities including file writing, network access via CLI tools, and command execution through the sandbox CLI.
- Sanitization: Robust sanitization is present, including a safety filter for the reproduction verifier and a specific numeric validation gate for verifying evidence line numbers on the host.
- [SAFE]: The skill demonstrates a "zero-trust" posture toward untrusted PR code and applies industry-standard isolation techniques (gVisor/Docker) to protect the host environment. Custom tools like
polygraphandsandboxare vendor-specific resources for thenrwl/nxdevelopment environment.
Audit Metadata