compat-review
Pass
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: SAFEREMOTE_CODE_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill fetches and applies code changes from external GitHub Pull Requests using
gh pr diffandgit apply, subsequently executing the resulting code viayarn vitest. This workflow allows for the execution of arbitrary, potentially malicious code submitted by untrusted contributors. - [DYNAMIC_EXECUTION]: The skill programmatically generates a temporary Vitest specification file (
_compat-review-{fn}.spec.ts) at runtime and executes it. This dynamic script generation and execution pattern is used to compare library behaviors. - [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection as it ingests untrusted data from GitHub PR bodies to extract test cases and verification claims without sanitization or boundary markers.
- Ingestion points: GitHub PR metadata and body via
gh pr view(SKILL.md, Workflow Step 1). - Boundary markers: None identified; the agent is instructed to directly extract logic and test cases from the raw PR description.
- Capability inventory:
Bash(used for GitHub CLI, Git, Yarn, and file deletion),Write(used to create the test script),Grep, andGlob. - Sanitization: None; the skill does not filter or validate the content extracted from the PR body before using it to guide its actions.
- [COMMAND_EXECUTION]: The skill uses
Bashto execute multiple powerful CLI tools, includinggit,gh, andyarn, to modify the local environment and run tests based on external inputs.
Audit Metadata