提交 #856976: LiuMengxuan04 MiniCode 0.1.0 Command Injection信息

标题LiuMengxuan04 MiniCode 0.1.0 Command Injection
描述MiniCode 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
来源⚠️ https://gist.github.com/menelausx/b42381d2788a334cba8cda43f52e2a28
用户
 JasperX (UID 97281)
提交2026-06-12 13時59分 (1 月前)
管理2026-07-17 18時19分 (1 month later)
状态已接受
VulDB条目379853 [LiuMengxuan04 MiniCode 0.1.0 mcp.ts child_process.spawn 权限提升]
积分20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!