review-loop
Fail
Audited by Gen Agent Trust Hub on Aug 21, 2026
Risk Level: HIGHCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/peer-invoke.shinvokes peer LLMs with flags that explicitly bypass security measures. It uses--dangerously-bypass-approvals-and-sandboxfor the Codex CLI and--dangerously-skip-permissionsfor the Claude CLI. These settings disable human-in-the-loop approvals and sandboxing, granting the peer LLMs autonomous capability to perform actions or access resources. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection by processing untrusted repository data and including it in instructions to the peer reviewer.
- Ingestion points: In
scripts/preflight.sh, the skill reads project context fromCLAUDE.md,package.json, andREADME.mdto build the initial review prompt. - Boundary markers: The prompt templates in
references/prompt-templates.mdlack delimiters or instructions to ignore potentially malicious embedded commands in the project context variables. - Capability inventory: The peer agents possess local repository access and the host agent automatically implements and commits code changes suggested by the peer, creating a loop where injected instructions could lead to persistent code changes.
- Sanitization: No sanitization or validation of the text extracted from the repository metadata files is performed before it is interpolated into the prompts.
Recommendations
- AI detected serious security threats
Audit Metadata