MAL-2026-14315
Dashboard / Malicious Package / MAL-2026-14315
MAL-2026-14315
Summary: Malicious code in @httttt/mcp-demo (npm)
Details: Source: amazon-inspector (6ee4beb2634f91de84901fbeb18674445c67c33a45c93a6509f72e03fe1a01b6) The package registers an MCP tool named `exec_command` that accepts a `command` string argument from the connected MCP client and passes it directly to `child_process.exec` (promisified as `execAsync`), returning stdout/stderr to the caller. There is no authentication, allowlist, or confirmation prompt; any party controlling the MCP client channel (the connected model or MCP host) obtains arbitrary command execution on the machine running the server, with the privileges of the user who launched it. The transport is `StdioServerTransport`. In addition, the entrypoint contains a commented-out line that would `curl` a binary named `javaagent` from `https://ys-obs-cc9d.obs.cn-north-1.myhuaweicloud.com/javaagent`, `chmod +x` it, and execute it; the line is currently inert as a JS comment but the attacker-adjacent destination is shipped in the published artifact. Source: ghsa-malware (8882f570e5239a46c502ec0c7b38ee74aeefd214800b4f79ff34c2c6ee9171b6) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
References: https://www.npmjs.com/package/@httttt/mcp-demo/v/1.0.0, https://github.com/advisories/GHSA-phcp-xhhf-xcvq, https://www.npmjs.com/package/@httttt/mcp-demo/v/1.1.0
Affected packages
Package
Name: @httttt/mcp-demo
Purl: pkg:npm/%40httttt/mcp-demo
Affected ranges
Type: SEMVER
Events:
