dual-round-review
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data such as Git diffs and feature specifications, which could be used for indirect prompt injection attacks.
- Ingestion points: The
scripts/prepare-review-context.shscript extracts git diff content, which is then used in prompts for sub-agents defined inreferences/round-1-red-team.mdandreferences/round-2-meta-architect.md. - Boundary markers: Untrusted content is wrapped in markdown code blocks (e.g.,
```diff) within the sub-agent prompts to help distinguish it from instructions. - Capability inventory: The skill dispatches sub-agents with tool-calling capabilities and runs local shell commands via
git. - Sanitization: The
scripts/prepare-review-context.shscript validates commit references usinggit rev-parse --verifyto prevent improper argument injection into git commands. - [COMMAND_EXECUTION]: The skill executes local shell commands through a helper script to manage git-related tasks.
- Evidence: The
scripts/prepare-review-context.shscript runsgit status,git diff,git rev-parse, andgit log. - Context: These commands are used as intended for gathering codebase context. The script proactively validates input arguments to ensure they are valid git objects, which is a key security measure against command injection.
Audit Metadata