comprehensive-code-review
Pass
Audited by Gen Agent Trust Hub on Feb 27, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes various system commands including
gh,git,mkdir, anddateto retrieve repository data and document findings. These operations are essential for its primary function of code review. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection (Category 8) because it processes untrusted content from pull request diffs and descriptions. This external data is interpolated into prompts for sub-agents without sufficient boundary markers or sanitization.
- Ingestion points: Pull request metadata via
gh pr viewand code differences viagh pr diffandgit diffrecorded incontext.jsonanddiff.txtrespectively. - Boundary markers: Absent. The prompt templates for individual reviewers (e.g., the "Individual Reviewer Prompt Template") lack explicit delimiters or instructions to disregard embedded commands within the
{DIFF}or{PR title}fields. - Capability inventory: The skill can perform file writes to the local
.reviews/directory, post comments to GitHub pull requests viagh pr comment, and initiate additional sub-agent tasks using theTask()call. - Sanitization: No validation or sanitization is performed on the ingested code or descriptions before they are processed by the LLM.
Audit Metadata