requesting-code-review

Pass

Audited by Gen Agent Trust Hub on Nov 17, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill relies on shell command execution via the git CLI to retrieve repository metadata and diffs. Specifically, it uses git rev-parse, git log, git diff, and git show to gather information for the review process.
  • [INDIRECT_PROMPT_INJECTION]: The sub-agent processes external, potentially untrusted data from git diffs and requirements documents, which could contain adversarial instructions.
  • Ingestion points: The code-reviewer.md template ingests external data through the {PLAN_OR_REQUIREMENTS} placeholder and the output of git diff and git show commands.
  • Boundary markers: The template uses Markdown headers (e.g., ## 实现内容, ## 需求 / 计划) to separate instructions from external data, which provides some structural separation but not complete protection against adversarial content.
  • Capability inventory: The sub-agent is granted access to the Task tool and shell commands (git diff, git show, git log, git worktree add) to perform its analysis.
  • Sanitization: There is no evidence of explicit sanitization, filtering, or escaping applied to the git output or the requirement text before it is presented to the LLM for evaluation.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 17, 2026, 02:19 AM