code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parameters
code-review-mcp-server exposes MCP tools (getLocalGitDiff, codeReview, createPR, getPRTemplate) that accept folderPath and baseBranch string parameters. These caller-controlled values were interpolated directly into shell command strings executed via child_process.execSync(), which runs commands through /bin/sh. A crafted value such as baseBranch = "main; <arbitrary command> #" (or a $(…) command substitution, or a folderPath that breaks out of the surrounding quotes) results in arbitrary command execution on the host running the MCP …