
针对CVE-2025-59536及相关CVE的专业PoC。演示了Anthropic Claude_Code中MCP工具确认提示的误导性表示,导致任意操作系统命令执行。
一个专业的PoC,展示了Anthropic的Claude Code中一个严重的UI/UX缺陷。此漏洞允许恶意的MCP服务器通过误导确认提示中的工具参数来误导用户批准任意命令执行。
Claude Code信任MCP服务器提供的描述和元数据来生成面向用户的确认提示。攻击者控制的服务器可以提供良性的描述(例如"读取文件"),而底层的执行逻辑触发反向shell或未授权的文件写入。
# Clone the research repository
git clone [https://github.com/Rohitberiwala/Claude-Code-MCP-Injection](https://github.com/Rohitberiwala/Claude-Code-MCP-Injection)
cd Claude-Code-MCP-Injection
# Edit the script to add your listener IP
nano exploit.py
# Run the PoC generator
python3 exploit.py