mal-2026-14315
Vulnerability from ossf_malicious_packages
-= Per source details. Do not edit below this line.=-
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.
{
"affected": [
{
"database_specific": {
"cwes": [
{
"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"
}
],
"indicators": {
"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=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "@httttt/mcp-demo"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"versions": [
"1.0.0",
"1.1.0"
]
}
],
"aliases": [
"GHSA-phcp-xhhf-xcvq"
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"database_specific": {
"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"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6ee4beb2634f91de84901fbeb18674445c67c33a45c93a6509f72e03fe1a01b6)\nThe 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.\n\n## Source: ghsa-malware (8882f570e5239a46c502ec0c7b38ee74aeefd214800b4f79ff34c2c6ee9171b6)\nAny 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.\n",
"id": "MAL-2026-14315",
"modified": "2026-09-23T01:30:22.510012868Z",
"published": "2026-08-20T03:33:06Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@httttt/mcp-demo/v/1.0.0"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-phcp-xhhf-xcvq"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@httttt/mcp-demo/v/1.1.0"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in @httttt/mcp-demo (npm)"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.