requesting-code-review
Pass
Audited by Gen Agent Trust Hub on Nov 13, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The code-reviewer.md template interpolates untrusted data from {DESCRIPTION} and {PLAN_REFERENCE} placeholders directly into the subagent's context. A malicious plan or description could contain instructions designed to bypass review checklists or influence the assessment outcome.\n
- Ingestion points: code-reviewer.md (placeholders {DESCRIPTION}, {PLAN_REFERENCE})\n
- Boundary markers: Absent. Content is placed directly under markdown headers without delimiters or 'ignore' instructions.\n
- Capability inventory: The reviewer subagent executes git commands and provides readiness assessments.\n
- Sanitization: No sanitization or validation of the input content is performed before interpolation.\n- [COMMAND_EXECUTION]: The code-reviewer.md file defines shell commands using placeholders ({BASE_SHA}, {HEAD_SHA}). If an attacker provides strings containing shell metacharacters for these values instead of valid git hashes, it could result in arbitrary command execution on the host.\n
- Evidence:
git diff --stat {BASE_SHA}..{HEAD_SHA}in code-reviewer.md.
Audit Metadata