Submit #860017: QUSETIONS MiniCode-Python v0.1.0 54d47f3 OS Command Injectioninfo

TitelQUSETIONS MiniCode-Python v0.1.0 54d47f3 OS Command Injection
BeschreibungMiniCode-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.
Quelle⚠️ https://gist.github.com/menelausx/2e6275222cb2e8aa412a145ba7abec66
Benutzer
 JasperX (UID 97281)
Einreichung16.06.2026 15:06 (vor 1 Monat)
Moderieren21.07.2026 17:49 (1 month later)
StatusAkzeptiert
VulDB Eintrag380945 [QUSETIONS MiniCode-Python 0.1.0 Project File minicode/config.py subprocess.Popen erweiterte Rechte]
Punkte20

Do you know our Splunk app?

Download it now for free!