review-it
Warn
Audited by Gen Agent Trust Hub on May 29, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The helper script
scripts/review-ituses theevalcommand to execute arbitrary shell instructions passed via the--parallel-testsargument. - Evidence: The line
eval "$TESTS" > /tmp/review-it-tests-$$.log 2>&1 &inscripts/review-itexecutes the content of the$TESTSvariable in a subshell. - Risk: If an agent is manipulated into passing malicious strings to this argument, it results in arbitrary command execution on the host system.
- [PROMPT_INJECTION]: The skill processes untrusted external data (git diffs) which serves as a surface for indirect prompt injection attacks.
- Ingestion points:
scripts/review-itgenerates a diff file at/tmp/review-it-$$.diffusinggit diff "$BASE"...HEADand then instructs the agent to analyze it via/review. - Boundary markers: The skill instructions do not specify any delimiters or safety markers to differentiate between the diff content and the agent's instructions.
- Capability inventory: The skill has access to the file system (read/write in
/tmp), network (viagit fetchandgh), and command execution (viaeval). - Sanitization: No sanitization or filtering is performed on the diff content before it is processed by the agent.
- [COMMAND_EXECUTION]: Use of predictable temporary filenames in a shared directory (
/tmp). - Evidence: Use of the shell PID (
$$) for filenames like/tmp/review-it-$$.diffand/tmp/review-it-tests-$$.log. - Risk: While common in scripts, using the PID for temporary files in
/tmpcan be susceptible to symlink attacks or race conditions in multi-user environments.
Audit Metadata