-= Per source details. Do not edit below this line.=-
On Windows, scripts/postinstall.js XOR-decodes a hardcoded C2 host (node22.lunes.host:3258), authenticates with a 5-minute rolling HMAC-SHA256 token, downloads encrypted Python marshal bytecode from /sync and /go, decrypts it with a sha256 keystream, writes a.dat blob and a Python launcher to %TEMP%, and spawns it detached/hidden via wscript.exe //B //nologo against a generated.vbs — with a code comment explicitly noting that this 'escapes npm job object'. The launcher and.vbs self-delete after spawn. The package.json also pulls a transitive dependency 'node-fetch-core' from an unpinned GitHub master-branch tarball owned by the same author, providing a second mutable auto-execution surface that bypasses registry review and can be swapped post-publish. The package name mimics the well-known node-fetch library, consistent with a typosquat lure delivering this payload. Multi-layer obfuscation (XOR-encoded host/port, HMAC time-window authentication, keystream-encrypted payload, marshal'd bytecode), explicit npm job-object evasion, and self-deleting launchers are operational malware tradecraft, not legitimate install scaffolding.
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": [
{
"sha256": "0a135a20732d8aa881339bf8ab01acb173afcb848c8a0e99ae99090da1f2241e",
"id": "IN-MAL-2026-007167",
"source": "amazon-inspector",
"modified_time": "2026-06-22T19:54:58Z",
"versions": [
"1.2.1"
],
"import_time": "2026-06-22T21:05:32.647132722Z"
},
{
"sha256": "1f8f9f348e51f7b47a176567e2c0d49754d56093401c23bbc7193b027b0fadb6",
"import_time": "2026-06-22T21:05:32.532191608Z",
"source": "amazon-inspector",
"modified_time": "2026-06-22T19:54:58Z",
"versions": [
"1.2.5"
],
"id": "IN-MAL-2026-007166"
},
{
"sha256": "664e2f444d14413bf9380a3cbca450a438a7b1c2fe6a34affd45a29273641d85",
"import_time": "2026-06-22T21:05:32.31679994Z",
"source": "amazon-inspector",
"modified_time": "2026-06-22T19:54:55Z",
"versions": [
"1.2.6"
],
"id": "IN-MAL-2026-007164"
},
{
"sha256": "74e60a8859d20078eeb84a7cce7928905c9719767f29a539a172462ea6f98c90",
"import_time": "2026-06-22T21:05:32.41295959Z",
"source": "amazon-inspector",
"modified_time": "2026-06-22T19:54:56Z",
"versions": [
"1.2.3"
],
"id": "IN-MAL-2026-007165"
},
{
"sha256": "78aef0d64a7d761d2987d27aea462083425e5692475cd81332b7a3152c754308",
"import_time": "2026-06-22T21:05:31.969272388Z",
"source": "amazon-inspector",
"modified_time": "2026-06-22T19:54:51Z",
"versions": [
"1.2.2"
],
"id": "IN-MAL-2026-007161"
},
{
"sha256": "b125e23d41318b384c89b9b2bd22c3c306414d6b81e05e362e055435670910d8",
"import_time": "2026-06-22T21:05:32.101664761Z",
"source": "amazon-inspector",
"modified_time": "2026-06-22T19:54:54Z",
"versions": [
"1.2.4"
],
"id": "IN-MAL-2026-007162"
},
{
"sha256": "d8db43b6e07c3c233638b4bb0fd1f4f89862ad9a71f1da89c1530a47cda1fa69",
"import_time": "2026-06-22T21:05:32.204158118Z",
"source": "amazon-inspector",
"modified_time": "2026-06-22T19:54:55Z",
"versions": [
"1.2.7"
],
"id": "IN-MAL-2026-007163"
},
{
"sha256": "618e71900ba6c670ed38028718e5dc5db3147ada60e3c7f11a0a519d33a4e783",
"import_time": "2026-06-23T07:33:18.910387024Z",
"source": "ghsa-malware",
"modified_time": "2026-06-23T06:19:13Z",
"id": "GHSA-4jfq-h5q8-g7hm",
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
]
}
]
}"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/node-fetch-utils/MAL-2026-6271.json"
[
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
}
]
{
"evidence_files": [
{
"sha256": "b67b65ed0cb6fbde9e1db8a146d21a9ba6b59ac1a89550d691a266fac641c651",
"tlsh": "e2a1203829b2a13471b3d3eccb67d557a25ab2133141d698ba0db7544fcd07886725f8",
"path": "scripts/postinstall.js"
},
{
"sha256": "58403ee8d3e58144292202dc6de12bcde07d70a48548f7b966d9b5341e5ca365",
"tlsh": "371159768c2609630bc8b6e6ba2c131372b24c4b8878fc1d63c342bc874d99b21fd09c",
"path": "package.json"
}
],
"package_integrity": [
{
"filename": "node-fetch-utils-1.2.1.tgz",
"hashes": {
"sha1": "6964d29fdeff08a54d91cdb77a7313e9f31e459c",
"sha512_sri": "sha512-KgeCFeFMvwXlB2aN3bQ4ZsAxaHYjhFN7Z2X7IURTM5c4gbHIURhzQjjvux+5oRJDy2L729GWU3gyUPzJZ1T4PQ=="
}
}
]
}