mal-2026-2920
Vulnerability from ossf_malicious_packages
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (374d8c5c4c32544741d1ea3788cfbccc3ee175f7181f8bdfa71cf4fde44121eb)
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.
Source: ghsa-malware (02f401e0ab3531cba5483401d32d2d7eea5db24f589519b5ade0af6eb4c689c7)
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.
Source: ossf-package-analysis (cbf9a942d65fe7c78ccee4d48e1122302552eb0aa8b9f442cf7f5eba43496d22)
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.
{
"affected": [
{
"database_specific": {
"cwes": [
{
"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",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
],
"indicators": {
"domains": [
"www.jsonkeeper.com",
"34.9.16.104.in-addr.arpa",
"ip-api.com"
],
"evidence_files": [
{
"path": "index.js",
"sha256": "259fe955fae02f969363637eb267fa01755fec71c03eaa9d5e7f0cafc7a08015",
"tlsh": "805353022e5251274777b33d984f950efb36e427462688c8b4ac84502fb5964cafbefd"
},
{
"path": "package.json",
"sha256": "caacbc68e308f83502547fdd82ccf2a9e06cf3f91c5d44448e2b8a89d34a61a4",
"tlsh": "8451952bcc9a4c6b0ab467f5a93e1a0af521472f4490480fb5bf1a8d4ff56a7118df1c"
}
],
"package_integrity": [
{
"filename": "buffer-util-extend-1.0.13.tgz",
"hashes": {
"sha1": "d2413a915790c06c65cb238104c62c9d08dfac7e",
"sha512_sri": "sha512-It2zAX/NiEJ8CEa1SNEigAsQgtpb/wfRQzMXRXt4ZZxOU6OqrxlAzNswyDOLTYc65X4q6aS/va4osSeHMma+zw=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "buffer-util-extend"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"versions": [
"1.0.8",
"1.0.13",
"1.0.11"
]
}
],
"aliases": [
"GHSA-g44v-3gq3-j8p6"
],
"credits": [
{
"contact": [
"actran@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
},
{
"contact": [
"https://github.com/ossf/package-analysis",
"https://openssf.slack.com/channels/package_analysis"
],
"name": "OpenSSF: Package Analysis",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"import_time": "2026-04-20T04:35:28.875981121Z",
"modified_time": "2026-04-14T10:22:11Z",
"sha256": "cbf9a942d65fe7c78ccee4d48e1122302552eb0aa8b9f442cf7f5eba43496d22",
"source": "ossf-package-analysis",
"versions": [
"1.0.8"
]
},
{
"import_time": "2026-04-23T20:49:14.577571741Z",
"modified_time": "2026-04-23T20:43:56Z",
"sha256": "bcd88e9635418fa888c76ed442537e5c237ae0cd3df5c7b6d3e5ea3bf1a8391f",
"source": "amazon-inspector",
"versions": [
"1.0.8"
]
},
{
"id": "IN-MAL-2026-004719",
"import_time": "2026-05-26T05:53:09.167204826Z",
"modified_time": "2026-05-25T16:14:57Z",
"sha256": "dc95bbeb5e3b59003bef85ab78ffd1e3dc1401e5c3027f35f25cc19f9c54bfc4",
"source": "amazon-inspector",
"versions": [
"1.0.13"
]
},
{
"id": "IN-MAL-2026-004720",
"import_time": "2026-05-26T05:53:09.261079774Z",
"modified_time": "2026-05-25T16:15:02Z",
"sha256": "1f6e6734740a2677b263781db18f7a1f11284aba33560ac6f15d6695cbc3daf5",
"source": "amazon-inspector",
"versions": [
"1.0.13"
]
},
{
"id": "IN-MAL-2026-004705",
"import_time": "2026-05-26T05:53:07.282384763Z",
"modified_time": "2026-05-25T15:31:57Z",
"sha256": "374d8c5c4c32544741d1ea3788cfbccc3ee175f7181f8bdfa71cf4fde44121eb",
"source": "amazon-inspector",
"versions": [
"1.0.11"
]
},
{
"id": "IN-MAL-2026-004706",
"import_time": "2026-05-26T05:53:07.373019473Z",
"modified_time": "2026-05-25T15:32:42Z",
"sha256": "d7c17ae06ae72378d9377d6dd2c24295e6841469b0f3d278f67d33415a3619fd",
"source": "amazon-inspector",
"versions": [
"1.0.11"
]
},
{
"id": "GHSA-g44v-3gq3-j8p6",
"import_time": "2026-05-29T13:28:09.205173759Z",
"modified_time": "2026-05-29T12:52:20Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "02f401e0ab3531cba5483401d32d2d7eea5db24f589519b5ade0af6eb4c689c7",
"source": "ghsa-malware"
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (374d8c5c4c32544741d1ea3788cfbccc3ee175f7181f8bdfa71cf4fde44121eb)\nOn 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\u0027s `content` field to `eval()` (index.js:46 stores the base64-encoded URL; index.js:59-65 performs `fetch(atob(...)).then(t=\u003et.json()).then(data =\u003e eval(data.content))`). Any consumer that `require`s this package executes whatever JavaScript is currently hosted at the mutable paste URL \u2014 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\u0027s 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.\n\n## Source: ghsa-malware (02f401e0ab3531cba5483401d32d2d7eea5db24f589519b5ade0af6eb4c689c7)\nAny 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.\n\n## Source: ossf-package-analysis (cbf9a942d65fe7c78ccee4d48e1122302552eb0aa8b9f442cf7f5eba43496d22)\nThe OpenSSF Package Analysis project identified \u0027buffer-util-extend\u0027 @ 1.0.8 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n\n- The package executes one or more commands associated with malicious behavior.\n",
"id": "MAL-2026-2920",
"modified": "2026-05-29T13:29:11Z",
"published": "2026-04-14T10:22:11Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/buffer-util-extend/v/1.0.13"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/buffer-util-extend/v/1.0.11"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-g44v-3gq3-j8p6"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in buffer-util-extend (npm)"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.