| タイトル | 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 月 ago) |
|---|
| モデレーション | 2026年07月21日 17:49 (1 month later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 380945 [QUSETIONS MiniCode-Python 0.1.0 Project File minicode/config.py subprocess.Popen 特権昇格] |
|---|
| ポイント | 20 |
|---|