code-review
Pass
Audited by Gen Agent Trust Hub on Oct 28, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local shell commands to generate diffs and metadata for the review process.
- Evidence:
git merge-base,git rev-parse, andgit diffcommands are used in Step 2 of the protocol inSKILL.mdto output data toreview-stat.txtandreview.diff. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data (source code changes) which is then interpreted by an AI subagent, creating a potential injection vector.
- Ingestion points: The subagent reads the contents of
review.diffand other repository files usinggit show,git log, andgit diffas described inreviewer-template.md. - Boundary markers: The
reviewer-template.mduses structural markdown headers to separate instructions from code data, but lacks specific warnings to the subagent to ignore instructions that might be embedded within the code being reviewed. - Capability inventory: Both the primary agent and the subagent have the ability to execute git commands and read arbitrary files within the repository context.
- Sanitization: There is no indication that the content of the diff files or repository files is sanitized or filtered before being passed to the subagent's prompt context.
Audit Metadata