-= Per source details. Do not edit below this line.=-
whs4_eud@1.0.1 declares a postinstall lifecycle script (node index.js) that fires unconditionally on npm install. On execution, index.js POSTs installer-side host information — the absolute path of the install location (which embeds the user's home directory), Node.js version, and platform/architecture — to a hardcoded Discord webhook under discord.com/api/webhooks/1530599209269465319/. The webhook URL is assembled by concatenating two string literals at runtime rather than appearing as a single literal, a light obfuscation of the exfiltration destination. The package name and layout are consistent with a dependency-confusion / typosquat beacon whose only functional behavior is to notify the author when an install occurs and to disclose where.
The OpenSSF Package Analysis project identified 'whs4_eud' @ 1.0.1 (npm) as malicious.
It is considered malicious because:
{
"malicious-packages-origins": [
{
"modified_time": "2026-07-25T15:55:34Z",
"versions": [
"1.0.1"
],
"source": "ossf-package-analysis",
"import_time": "2026-07-27T01:42:44.1209829Z",
"sha256": "d906ecaf9f2ede0a31c6966b9d8402f4c80e57fb72eae7f9dfa1b3a7c583b8d4"
},
{
"source": "amazon-inspector",
"modified_time": "2026-08-04T21:55:43Z",
"versions": [
"1.0.1"
],
"sha256": "6be47b29c887fd54b5cffc8789278f3ea7987b12d618e89c540e5670edea12b5",
"id": "IN-MAL-2026-011261",
"import_time": "2026-08-04T22:30:07.961552055Z"
},
{
"source": "amazon-inspector",
"modified_time": "2026-08-11T17:24:19Z",
"versions": [
"1.0.0"
],
"sha256": "f8dcbecbaf2392f7cd7720244800fde67c971fa7fa34fb8cf21d61c580dd4713",
"id": "IN-MAL-2026-017376",
"import_time": "2026-08-11T17:51:59.251904999Z"
}
]
}[
{
"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"
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/whs4_eud/MAL-2026-11071.json"
{
"evidence_files": [
{
"path": "index.js",
"sha256": "5cc9cd2e5a872d5b641b6a1c4bf5e201468b693e6eb9cc4053e4f9296ab52f20",
"tlsh": "0761518a96f022210ba3f3d4204bc12bbb2985132a0ecd45f64c47b41fce67dd4e52e8"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "8553c23b13668bdb44198b8b0fc6d836b7856c5f",
"sha512_sri": "sha512-m+Ga9ZEpPNwJbjyxLQtk2xzdtNrNPoyPw+cZSa8jXd8qPr46mD5UIg9pQFq9rRZfSdwEcPA28mmvB1/ZJ1lk/w=="
},
"filename": "whs4_eud-1.0.1.tgz"
}
]
}