Malicious code in @httttt/mcp-demo (npm)
Description
Source: amazon-inspector (2914b799b1c4e540a2ff20338186041f8053fd03cc28ad544ecdb36531a33278)
The package's main/bin entry contains a top-level await execAsync(...) that downloads a file named javaagent from ys-obs-cc9d.obs.cn-north-1.myhuaweicloud.com/javaagent) does not match the stated purpose. Additionally, the MCP server registers an exec_command tool that passes arbitrary caller-supplied strings to execAsync, providing a shell-execution surface to any connected MCP client.
---