requesting-code-review
Pass
Audited by Gen Agent Trust Hub on Nov 6, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted code changes via
git diffand project files, creating a surface for indirect prompt injection where malicious code could attempt to influence the agent's behavior. - Ingestion points: The skill reads
git diffoutput in Step 1, 2, and 5, and ingests project source files during Step 3 (testing/linting). - Boundary markers: Step 5 utilizes
<code_changes>and<static_scan_results>tags as delimiters, accompanied by a directive to the subagent to treat the content as data only. - Capability inventory: The skill possesses the ability to execute shell commands via the
terminaltoolset and modify the file system using thefiletoolset through the auto-fix subagent in Step 7. - Sanitization: No explicit sanitization or filtering of the diff content is performed before interpolation into the subagent's prompt, relying entirely on boundary instructions.
- [COMMAND_EXECUTION]: The skill executes local test suites and linters (
pytest,npm test,cargo test,go test,ruff,eslint, etc.) based on auto-detected project files. This involves executing code present in the repository being reviewed. - [DYNAMIC_EXECUTION]: Step 7 implements an auto-fix loop that spawns a subagent with
fileaccess to automatically modify source code based on identified issues. This constitutes dynamic code generation and modification at runtime.
Audit Metadata