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.mdorREVIEW.override.mdfiles (inscripts/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-codeharness (configured inscripts/harnesses/claude_code.py) provides the LLM with theBashtool and usespermission-mode: bypassPermissionsfor 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.pyandbyharness.py, theexec()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