async-pr-review
Pass
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes multiple shell commands to manage git worktrees, run project builds (
npm ci,npm run build), and execute tests based on the PR content. - [INDIRECT_PROMPT_INJECTION]: The skill has a high attack surface for indirect prompt injection because it specifically processes untrusted content from GitHub Pull Requests.
- Ingestion points: Reads PR diffs via
gh pr diff, fetches PR branches into local worktrees, and reads CI logs usinggh run view --log-failed. - Boundary markers: None observed in the prompt synthesis step. The skill instructs the LLM to "Read the review... automated test logs... and give a final recommendation."
- Capability inventory: The skill can execute arbitrary project scripts (
npm run), use thegeminiCLI for further inference, and write/read files within the repository. - Sanitization: No sanitization is performed on the PR diff or log content before it is processed by the LLM in
async-review.sh. - [DYNAMIC_EXECUTION]: The skill uses
geminiheadlessly (-p) to execute dynamic instructions generated during the review process, including a step that "physically exercises the newly changed code in the terminal." - [REMOTE_CODE_EXECUTION]: While it doesn't download and pipe scripts from the web, it fetches and executes code directly from a Pull Request (via
git fetchandnpm run), which is a form of remote code execution if the PR author is untrusted.
Audit Metadata