requesting-code-review
Pass
Audited by Gen Agent Trust Hub on Sep 30, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes standard
gitcommands (such asgit rev-parse,git log, andgit diff) to identify commit ranges and extract code changes for review. These commands are localized to the repository and are necessary for the skill's primary function. - [INDIRECT_PROMPT_INJECTION]: The code review subagent (defined in
code-reviewer.md) is designed to ingest and process code diffs and plan requirements. This represents a potential indirect prompt injection surface if the code being reviewed contains adversarial instructions. However, this ingestion is fundamental to the skill's purpose as a reviewer, and the template provides clear structural boundaries for analysis. - Ingestion points: Git diff output and plan descriptions interpolated into the
code-reviewer.mdtemplate. - Boundary markers: The subagent template uses explicit Markdown headers (e.g., 'Git Range to Review', 'Requirements/Plan') to segment input data from the review logic.
- Capability inventory: The skill utilizes shell command execution for git operations.
- Sanitization: No specific sanitization or filtering of the code diff content is performed prior to the review process.
Audit Metadata