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.py and filtered by scripts/pr-comment-filter.py.
  • Boundary markers: Absent. scripts/analyze-pr.sh generates 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.py performs basic character cleaning and text extraction but does not sanitize for adversarial prompt patterns.
  • [REMOTE_CODE_EXECUTION]: The orchestrator script scripts/multi_agent_review.py executes npx claude-flow. If the claude-flow tool is not installed locally, npx will 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.md runs pylint, flake8, bandit, and mypy via subprocess.run.
  • scripts/with_server.py starts arbitrary server processes using subprocess.Popen, though it includes robust parsing to prevent shell injection operators.
  • scripts/analyze-pr.sh utilizes system clipboard utilities like pbcopy and xclip.
  • [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) via pip from the official package registry.
Audit Metadata
Risk Level
SAFE
Analyzed
May 11, 2026, 06:03 PM