code-review
Pass
Audited by Gen Agent Trust Hub on May 11, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTIONREMOTE_CODE_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill exhibits a vulnerability to indirect prompt injection by ingesting untrusted data from GitHub PR comments.
- Ingestion points: PR comment bodies are fetched by
scripts/pr-comment-grabber.pyand filtered byscripts/pr-comment-filter.py. - Boundary markers: Absent.
scripts/analyze-pr.shgenerates a markdown summary (prNN-analysis.md) containing these comments without sufficient delimiters or explicit warnings to the model to ignore embedded instructions. - Capability inventory: The skill has significant capabilities including file editing, script execution via
subprocess, and network access for API calls. - Sanitization:
scripts/pr-comment-filter.pyperforms basic character cleaning and text extraction but does not sanitize for adversarial prompt patterns. - [REMOTE_CODE_EXECUTION]: The orchestrator script
scripts/multi_agent_review.pyexecutesnpx claude-flow. If theclaude-flowtool is not installed locally,npxwill download and execute it from the npm registry at runtime. This is a standard pattern for using Node-based CLI tools but involves running remote code. - [COMMAND_EXECUTION]: The skill frequently executes local shell commands and system tools to perform its reviews.
modules/automated-code-review.mdrunspylint,flake8,bandit, andmypyviasubprocess.run.scripts/with_server.pystarts arbitrary server processes usingsubprocess.Popen, though it includes robust parsing to prevent shell injection operators.scripts/analyze-pr.shutilizes system clipboard utilities likepbcopyandxclip.- [EXTERNAL_DOWNLOADS]: The skill relies on several external Python dependencies defined in
scripts/pyproject.toml(e.g.,litellm,markitdown,fastapi) and documentation instructions suggest installing others (e.g.,requests,psutil,rope) viapipfrom the official package registry.
Audit Metadata