multi-shot-review

Pass

Audited by Gen Agent Trust Hub on Nov 1, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill has a defined attack surface for indirect prompt injection because it incorporates untrusted content from the repository under review into LLM prompts.
  • Ingestion points: The skill loads repository-level instructions from REVIEW.md or REVIEW.override.md files (in scripts/review_instructions.py) and interpolates them into classifier and reviewer prompts. It also ingests the user's task request and the target source code changes.
  • Boundary markers: External instructions and code are included in prompts without explicit delimiters or warnings to ignore nested instructions.
  • Capability inventory: The claude-code harness (configured in scripts/harnesses/claude_code.py) provides the LLM with the Bash tool and uses permission-mode: bypassPermissions for the classifier, which could be exploited by a malicious instruction in a repository to execute arbitrary shell commands within the harness sandbox.
  • Sanitization: No sanitization or filtering is applied to the ingested instructions or code before they are processed by the LLM.
  • [DYNAMIC_EXECUTION]: Some internal analysis scripts in the skill's package use dynamic execution patterns.
  • Evidence: In reports/2026-09-26-trading-sandbox-after-change/p1p2.py and byharness.py, the exec() function is used to execute code blocks dynamically extracted from a sibling file (compare.py).
  • Context: While this execution is limited to loading local scripts provided with the skill, the use of exec() on strings read from files is a high-risk pattern that should be avoided in favor of standard imports.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 1, 2026, 01:17 PM