code-reviewer
Pass
Audited by Gen Agent Trust Hub on Oct 27, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the Python
subprocessmodule to interface with system tools and internal scripts. - The
scripts/pr_analyzer.pyscript executesgitcommands (e.g.,git diff,git log) to analyze changes in a repository. - The
scripts/review_report_generator.pyscript executes the other bundled Python tools (pr_analyzer.pyandcode_quality_checker.py) to aggregate results. - All subprocess calls are implemented using list-based arguments and do not use
shell=True, which effectively mitigates command injection risks. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted source code and Git history, which serves as a potential surface for indirect prompt injection.
- Ingestion points: Raw code content is ingested from local files and Git diffs via
scripts/pr_analyzer.pyandscripts/code_quality_checker.py. - Boundary markers: The instructions do not define specific delimiters or instructions for the agent to disregard embedded content that might mimic instructions.
- Capability inventory: The skill has read access to the local filesystem and can execute Git commands and internal Python scripts.
- Sanitization: Risk detection is performed by deterministic Python scripts using regular expressions, providing a layer of validation before results are presented to the agent. The risk is considered safe as it is inherent to the skill's primary function as a code auditor.
Audit Metadata