The skill is vulnerable to prompt injection
Claims to do
Review Loop: Iterative code review with isolated subagents. Loops until clean.
Actually does
This skill orchestrates an iterative code review process. It uses `git diff --stat` to determine the scope of changes, then dispatches multiple isolated subagents (reviewers, verifiers, fixers) via an `Agent tool` to identify, verify, and fix code issues. It performs parallel dual-path re-reviews after fixes and loops until no critical or important issues remain, or a maximum number of rounds is reached.
The skill's core functionality involves dispatching multiple subagents (reviewers, verifiers, fixers) using dynamically constructed prompts. If the inputs used to build these prompts (e.g., diff range, description, issue details, fix suggestions) are not properly sanitized, an attacker could inject malicious instructions into the subagents' prompts, leading to goal hijacking or arbitrary actions by the subagents.
For each reviewer, fill `reviewer-prompt.md` template and dispatch via Agent tool
The skill executes `git` commands (e.g., `git diff --stat`) and allows fixer subagents to 'commit their fixes'. If an attacker can control parameters like `BASE_SHA`, `HEAD_SHA`, or the content of 'fix suggestions', they could potentially inject arbitrary commands or malicious code into the repository.
Assess change scope with `git diff --stat`
The iterative nature of the review loop, with multiple rounds, detailed summaries, and explicit pauses for user intervention, creates a scenario prone to human approval fatigue. Users might become desensitized to warnings or approve actions without thorough review over time, especially if the process is lengthy or frequent.
Report round summary to user
[](https://mondoo.com/ai-agent-security/skills/github/winrey/claude-code-toolkit/review-loop)<a href="https://mondoo.com/ai-agent-security/skills/github/winrey/claude-code-toolkit/review-loop"><img src="https://mondoo.com/ai-agent-security/api/badge/github/winrey/claude-code-toolkit/review-loop.svg" alt="Mondoo Skill Check" /></a>https://mondoo.com/ai-agent-security/api/badge/github/winrey/claude-code-toolkit/review-loop.svgSkills can read files, run commands, and access credentials. Mondoo helps organizations manage the security risks of AI agent skills across their entire fleet.