full-review
Pass
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local shell commands through
scripts/collect_context.shand Python subprocesses inscripts/review_scope.py. These operations interact withgitand the GitHub CLI (gh) to retrieve pull request metadata, diffs, and existing review comments. These actions are restricted to legitimate source control operations required for the review task. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to process untrusted data from external sources, specifically pull request descriptions and comments, which could potentially contain malicious instructions intended to influence the AI's review behavior.
- Ingestion points: Data is ingested via
ghcommands inscripts/collect_context.shand stored in temporary artifacts. - Boundary markers: The system uses structured XML-like delimiters (e.g.,
<task>,<context>,<grounding_rules>) in its prompt templates to separate instructions from data. The synthesis instructions inSKILL.mdexplicitly direct the agent to treat existing comments as candidates rather than truth. - Capability inventory: The skill can write to the filesystem (temporary directories), execute shell commands (
git,gh, and discovered model runners), and spawn sub-agents using theAgenttool. - Sanitization: A dedicated synthesis phase (Phase 5) uses a fresh model context and a detailed filtering pipeline (
references/filtering_pipeline.md) to deduplicate, normalize, and evidence-check findings, which serves as a robust defense against adversarial data in the input. - [DYNAMIC_EXECUTION]: The skill performs dynamic model orchestration by probing for available command-line interfaces (
codex-runner,claude-runner, etc.) and invoking them based on host availability. It also utilizes theAgenttool to spawn sub-agents for synthesizing findings. This dynamic behavior is a core architectural feature for cross-model verification and does not involve the execution of arbitrary external code.
Audit Metadata