Submit #856976: LiuMengxuan04 MiniCode 0.1.0 Command Injectioninfo

TitleLiuMengxuan04 MiniCode 0.1.0 Command Injection
DescriptionMiniCode is a AI-powered coding assistant. MiniCode's MCP (Model Context Protocol) server integration allows an attacker to achieve remote code execution by placing a malicious .mcp.json configuration file in the root of a project. Once a victim clones or downloads the project and launches MiniCode inside it, the commands defined in .mcp.json are immediately spawned via child_process.spawn() with the victim's full process environment inherited, without any warning, permission prompt, or user confirmation. Additionally, remote MCP configurations support ${VAR} environment variable interpolation in HTTP headers, enabling exfiltration of sensitive credentials to attacker-controlled servers, and stored MCP bearer tokens are matched by server name alone, allowing token reuse across unrelated endpoints
Source⚠️ https://gist.github.com/menelausx/b42381d2788a334cba8cda43f52e2a28
User
 JasperX (UID 97281)
Submission06/12/2026 13:59 (1 month ago)
Moderation07/17/2026 18:19 (1 month later)
StatusAccepted
VulDB entry379853 [LiuMengxuan04 MiniCode 0.1.0 mcp.ts child_process.spawn command injection]
Points20

Do you know our Splunk app?

Download it now for free!