code-review
Pass
Audited by Gen Agent Trust Hub on Jul 14, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection through its ingestion of untrusted repository content.
- Ingestion points: The agent reads output from
git diffandgit log, as well as the contents of files within thedocs/,specs/, and.scratch/directories to serve as the basis for the review. - Boundary markers: The instructions do not define clear delimiters or include warnings to the sub-agents to ignore instructions embedded within the processed data.
- Capability inventory: The agent has the ability to execute shell commands via
gitand can spawn further sub-agents using theAgenttool. - Sanitization: No sanitization, escaping, or filtering of the diff output or spec files is performed before the content is interpolated into the sub-agent prompts.
- [COMMAND_EXECUTION]: The skill instructs the agent to construct and execute shell commands (
git diff,git log,git rev-parse) using user-provided input. Although the skill includes a validation step (git rev-parse), there remains a risk of command injection if the underlying execution environment does not properly handle shell metacharacters in the user-supplied string.
Audit Metadata