comprehensive-code-review

Pass

Audited by Gen Agent Trust Hub on Oct 28, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it ingests untrusted code diffs and PR descriptions and interpolates them directly into prompts for subagents (using the opus model). A malicious pull request author could include hidden instructions within code comments or the PR body to manipulate the reviewer subagents.
  • Ingestion points: Untrusted data enters the agent context via gh pr diff and git diff commands as specified in SKILL.md.
  • Boundary markers: The prompt templates for the subagents use markdown headers (e.g., ## Your Mission, DIFF:) but lack robust escaping, specialized delimiters, or explicit instructions to ignore embedded commands within the untrusted content.
  • Capability inventory: The skill possesses the capability to post comments to GitHub, request changes on pull requests, and execute shell commands for file management and context gathering.
  • Sanitization: No sanitization, filtering, or content escaping is performed on the untrusted diff content before it is interpolated into subagent prompts.
  • [COMMAND_EXECUTION]: The skill makes extensive use of local shell commands (git, gh, mkdir) to gather context, manage internal review files in a .reviews/ directory, and interact with the GitHub API. While these operations are appropriate for a developer tool, they represent a broad capability set that could be targeted if an injection occurs.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 28, 2026, 01:12 AM