-= Per source details. Do not edit below this line.=-
The package's preinstall.js lifecycle script executes whoami via child_process.execSync and sends the captured OS username to the hardcoded endpoint https://erhantest-erhan.free.beeceptor.com via an HTTPS GET with the username in the query string. This runs automatically on npm install before any user code executes. Beeceptor is a third-party request-inspection service; the subdomain is an anonymous tenant unrelated to any legitimate publisher. The package has no documented purpose that would justify transmitting the installer's identity to this destination.
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": "GHSA-cx3g-72gj-7hfw",
"import_time": "2026-11-24T17:17:23.240144499Z",
"modified_time": "2026-11-24T16:53:48Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "c6d6ed9a8dbe415a393f4f89a85eaccfc1d2513fbf708f9d897dc3e5c93b1571",
"source": "ghsa-malware"
},
{
"id": "IN-MAL-2026-023104",
"import_time": "2026-11-25T06:44:06.893200878Z",
"modified_time": "2026-11-25T06:23:48Z",
"sha256": "e8f67bd27198d02df2ba464f62b45d004f9c01f21dae28751a0b7b58e5c799e5",
"source": "amazon-inspector",
"versions": [
"1.0.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"
}
]
{
"evidence_files": [
{
"path": "preinstall.js",
"sha256": "79c948aab9843e1000c4c8fb93876207f855aaa55231b79e0b0d024deb31b46f",
"tlsh": "a2019e7649fb5130a577b888cf47910ab24795037642ea54bf9cd3720fc7924d6125f8"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/whoami-notifier/MAL-2026-20503.json"