-= Per source details. Do not edit below this line.=-
On require(), path.js executes an IIFE that calls loadTokenData(), which fetches a base64-obfuscated URL (decoding to https://www.jsonkeeper.com/b/CWOV9), parses the JSON response, and passes data.content directly to eval(). The remote paste is mutable by whoever controls the jsonkeeper entry, so any installer that imports the package executes arbitrary attacker-controlled JavaScript in-process at import time. The package name impersonates Node's built-in path module and the README claims to be 'an exact copy of the NodeJS path module', increasing the chance of accidental installation by developers seeking a path polyfill.
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.
The OpenSSF Package Analysis project identified 'path-internal-util' @ 1.0.1 (npm) as malicious.
It is considered malicious because:
The package communicates with a domain associated with malicious activity.
The package executes one or more commands associated with malicious behavior.
{
"malicious-packages-origins": [
{
"versions": [
"1.0.1"
],
"sha256": "db91c8a40ff204e2aa98c594413d69b624d93a4ac51ea09fc00b1d3f63b8e462",
"modified_time": "2026-05-01T07:11:51Z",
"import_time": "2026-05-04T03:13:19.864701864Z",
"source": "ossf-package-analysis"
},
{
"sha256": "3bd4ebaf2978cb19cb80932842460fcb683c7e5867ec9e51c642bc29605394d4",
"versions": [
"1.0.1"
],
"import_time": "2026-05-12T07:28:56.745822945Z",
"modified_time": "2026-05-12T06:53:21Z",
"source": "amazon-inspector"
},
{
"versions": [
"1.0.2"
],
"id": "IN-MAL-2026-005250",
"import_time": "2026-06-09T22:36:25.546887626Z",
"sha256": "a5333e8bbb96471236eb31d7ee684d66437fdbf8a055cd9e15cd76f417adab51",
"modified_time": "2026-06-09T21:40:46Z",
"source": "amazon-inspector"
},
{
"versions": [
"1.0.2"
],
"id": "IN-MAL-2026-005249",
"import_time": "2026-06-09T22:36:25.497270697Z",
"modified_time": "2026-06-09T21:40:46Z",
"sha256": "aaba59a63a7a6f3dfc734a55082dff17dbf357f41b2a09ef0c87f73d046088e1",
"source": "amazon-inspector"
},
{
"sha256": "256c0d663976ed956c5fde6343acb9a6e640443a0091911fd4a2a57ab49e14f3",
"id": "GHSA-c267-q765-387r",
"import_time": "2026-06-29T17:14:01.267562169Z",
"modified_time": "2026-06-29T14:06:45Z",
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"source": "ghsa-malware"
},
{
"versions": [
"1.0.0",
"1.0.1"
],
"id": "RLMA-2026-05207",
"modified_time": "2026-07-07T13:03:35Z",
"sha256": "0b8c2e1d81ba7400018f86d8db6926abdf36b9eaf02c186ae07f5d6ae477a845",
"import_time": "2026-07-09T09:16:41.603207711Z",
"source": "reversing-labs"
},
{
"sha256": "551116bd02887493c0429c83a46d433d6ddf4b1c32553993ed0098b2ceb38c95",
"id": "GHSA-c267-q765-387r",
"import_time": "2026-07-10T16:54:13.24089919Z",
"modified_time": "2026-07-10T16:10:20Z",
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.0.0"
},
{
"last_affected": "1.0.2"
}
]
}
],
"source": "ghsa-malware"
}
]
}{
"package_integrity": [
{
"filename": "path-internal-util-1.0.2.tgz",
"hashes": {
"sha512_sri": "sha512-UG5nQlQEvWhjwYSlcqlawNCXRTKJGTW69brBUaEsBgmPFBd6trxMAu7i86BaO+L6aGG9WhOCe+oQfpKmCDiFJQ==",
"sha1": "6957ec4b2353c7b4dee96d77314fda443a079ddc"
}
}
],
"evidence_files": [
{
"tlsh": "fe8295085945614a9a3677b0df0a340ef77684e34315ab00f89ce6502f72e79a2feed8",
"sha256": "98b01dc2b472069106e707749862ea5cfcd1bb2fb339dfeda28047ef1630cbaf",
"path": "path.js"
},
{
"tlsh": "00e08631cd45ed3345e922a43d394a1ba1a18d474801fc0837965f5c9f8f5afb1b879c",
"sha256": "bab747cdb27878c30c23c52530fc7e87bc662c2b992d577b815673f86d9cad3b",
"path": "package.json"
}
],
"domains": [
"www.jsonkeeper.com"
]
}
[
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"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."
},
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/path-internal-util/MAL-2026-3312.json"