-= Per source details. Do not edit below this line.=-
package.json declares a bin entry whose key contains shell metacharacters and a chained command: "tool & calc.exe": "./run.js". On Windows, npm's bin shim/symlink generation and later invocation via npm install -g or npx can interpret the & in the bin key as a command separator, causing calc.exe to execute as an unintended side effect of installing or linking the package. The shipped run.js is a trivial console.log("hello") and payload.json is empty, so the crafted bin key is the entire attack surface — a proof-of-concept exploit of npm bin-name handling that yields arbitrary command execution on the installer's host.
{
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-020206",
"import_time": "2026-09-21T03:24:21.277872623Z",
"modified_time": "2026-09-21T03:21:25Z",
"sha256": "adfd1e5f7cc282648da56cdf50ac9c3cb27d6165fa4a3f8f3625b4a0c2694be6",
"source": "amazon-inspector",
"versions": [
"1.0.1"
]
}
]
}[
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
{
"evidence_files": [
{
"path": "package.json",
"sha256": "e5a512771a725b1f1eb57fa02df03b9930c94b37b8429b9229a583da3fcb6f10",
"tlsh": "c1b01254d8724f533c8c0760053d41015227cc4760071c1a03436424c698d7b24bd158"
}
],
"package_integrity": [
{
"filename": "npx-test-ma980-1.0.1.tgz",
"hashes": {
"sha1": "d9862d7b06326cea50bb9d06c1c439464888c925",
"sha512_sri": "sha512-3C2g6nGttIvl6L4nXmpJ4GU0wgFKacgBoo9sX73rjt7E99hAsKkuAcxiEQcYmN4U9fNoMg2F3QvYm3p2up0XOQ=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/npx-test-ma980/MAL-2026-16310.json"