review-code
Pass
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/review-scope.shuses theevalcommand to re-split theSKILL_ARGSstring into separate arguments. Although a character whitelist is applied to the input string before execution, the use ofevalon user-supplied or harness-supplied data is a risky pattern that could lead to command injection if the whitelist is bypassed. - [DYNAMIC_EXECUTION]: The skill uses dynamic execution by invoking the
evalshell command inscripts/review-scope.shand by dynamically constructinggit diffcommands inSKILL.mdbased on parameters determined at runtime. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from the repository being reviewed, creating a surface for indirect prompt injection where malicious instructions in the code or metadata could manipulate the agent's behavior.
- Ingestion points:
SKILL.md(Step 2 and 3) andreferences/lenses.md(Lenses 1, 3, 4, and 5) describe readinggit diffoutput,git logcommit messages, pull request comments viagh api, and guideline files (CLAUDE.md,AGENTS.md). - Boundary markers: Absent. The agent is instructed to read and process these contents directly without explicit delimiters or instructions to ignore embedded commands within the reviewed data.
- Capability inventory: The agent has access to
Bash,Read,Grep, andGlobtools, and its output (a PASS/FAIL verdict) is recorded into the validation pipeline. - Sanitization: The
review-scope.shscript employs a character whitelist for initial arguments, but there is no evidence of sanitization or filtering for the instructions or content found within the code, commits, or comments during the lens-based review process.
Audit Metadata