提交 #860017: QUSETIONS MiniCode-Python v0.1.0 54d47f3 OS Command Injection信息

标题QUSETIONS MiniCode-Python v0.1.0 54d47f3 OS Command Injection
描述MiniCode-Python is an AI-powered coding assistant. Its MCP (Model Context Protocol) server integration allows an attacker to achieve code execution by placing a malicious .mcp.json configuration file in the root of a project. When a victim clones or downloads the project and launches MiniCode-Python inside it, project-scoped MCP servers from .mcp.json are loaded automatically. During tool registry creation, MiniCode-Python attempts to connect to the configured MCP server, which spawns the configured command via subprocess.Popen() with the victim's full process environment inherited.Although the Python implementation contains a command allowlist, the allowlist includes general-purpose interpreters and package runners such as python, python3, node, npx, etc. A malicious project can therefore configure an allowed interpreter, such as python, and pass it an attacker-controlled script stored in the repository. That script can then execute arbitrary local commands.No MCP-specific permission prompt, trust prompt, or user confirmation is shown before the process is spawned.
来源⚠️ https://gist.github.com/menelausx/2e6275222cb2e8aa412a145ba7abec66
用户
 JasperX (UID 97281)
提交2026-06-16 15時06分 (1 月前)
管理2026-07-21 17時49分 (1 month later)
状态已接受
VulDB条目380945 [QUSETIONS MiniCode-Python 0.1.0 Project File minicode/config.py subprocess.Popen 权限提升]
积分20

Want to know what is going to be exploited?

We predict KEV entries!