async-pr-review
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [Command Execution]: The skill relies extensively on executing local shell scripts (
async-review.shandcheck-async-review.sh) to manage background tasks, git worktrees, and project builds. This involves spawning multiple background processes and running project-specific commands likenpm run buildornpm test. - [Indirect Prompt Injection Surface]: The skill fetches and processes external data from GitHub, specifically PR diffs and CI logs, which are then passed to an LLM (
geminiexecutable) for review and test execution. This creates a surface for indirect prompt injection if the PR content contains malicious instructions intended to influence the AI's review or command generation. - [Automated External Tools]: The skill uses the GitHub CLI (
gh) to fetch data and check PR status. It also dynamically invokes ageminiexecutable. The integrity of these external tools and the paths from which they are loaded (${HOME}/.gcli/...) should be verified by the user to ensure expected behavior. - [Direct Command Flow]: The system processes the output of shell commands to synthesize a final assessment. Errors or malicious output from these commands could theoretically influence the final recommendation provided to the user.
- [Ephemeral Worktree Management]: The skill creates and removes git worktrees in the
.gemini/tmpdirectory. While this is done to prevent workspace pollution, it involves commands that modify the git state and local file system based on PR numbers.
Audit Metadata