-= Per source details. Do not edit below this line.=-
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.
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.
{
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-018433",
"import_time": "2026-08-20T03:49:50.744738476Z",
"modified_time": "2026-08-20T03:33:06Z",
"sha256": "2914b799b1c4e540a2ff20338186041f8053fd03cc28ad544ecdb36531a33278",
"source": "amazon-inspector",
"versions": [
"1.0.0"
]
},
{
"id": "GHSA-phcp-xhhf-xcvq",
"import_time": "2026-09-23T00:57:12.961840717Z",
"modified_time": "2026-09-23T00:24:09Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "8882f570e5239a46c502ec0c7b38ee74aeefd214800b4f79ff34c2c6ee9171b6",
"source": "ghsa-malware"
},
{
"id": "IN-MAL-2026-020321",
"import_time": "2026-09-23T01:28:36.137981075Z",
"modified_time": "2026-09-23T01:24:20Z",
"sha256": "6ee4beb2634f91de84901fbeb18674445c67c33a45c93a6509f72e03fe1a01b6",
"source": "amazon-inspector",
"versions": [
"1.1.0"
]
}
]
}[
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
},
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
},
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
{
"evidence_files": [
{
"path": "dist/index.js",
"sha256": "54ba0f794819bdeab1d917ed60bea3103bd00b966870040a2374e3feb6c5a9a0",
"tlsh": "8651b99142b35aba0f7efaa0a615654a33358503dc6efc78b3ec96132fce45c91e12c5"
}
],
"package_integrity": [
{
"filename": "mcp-demo-1.0.0.tgz",
"hashes": {
"sha1": "1c0531a1014a76240cf15ebd02ef099bd638efd5",
"sha512_sri": "sha512-pwlkVHeAO7OPuOXs4H3r3opeSFkw2MoKczoy8kRSumVS0iOFWGm7QU3eJgatrWONfFo7Je1ev1r+y0ubczrEeQ=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@httttt/mcp-demo/MAL-2026-14315.json"