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

目标: 1000 元 · 已筹: 1359 元

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

npmjs_web3-util

MAL-2026-3768
2026-06-10 15:27:05
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in npmjs_web3-util (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
3
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmnpmjs_web3-util*
npmnpmjs_web3-util1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-10T15:27:05Z","published":"2026-05-14T19:24:58Z","schema_version":"1.7.4","id":"MAL-2026-3768","aliases":["GHSA-qjvc-v9v6-xh96"],"summary":"Malicious code in npmjs_web3-util (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (263a0126b20b1d58bc0528a4b7bea19027b94383e00b5b9f03b712d96be89ca7)\nThe package's `postinstall` lifecycle hook downloads a script from a personal GitHub Gist (`gist.githubusercontent.com/guellemilb/631fb6348967d9d475125edf67048c0e/raw/build_utils.py`) via curl/wget and pipes the response to `python3`, `node`, and `eval` — with fallback chains across all three interpreters. The Gist URL is mutable (the gist owner can change the served content at any time without any package republish), is unrelated to the package's advertised publisher, performs no hash or signature verification on the fetched bytes, and runs unconditionally on every `npm install`. The package otherwise provides no functionality: `index.js` is `module.exports = {};` despite the package describing itself as \"Utilities for Web3/web3 development\" — the dropper is the package's only effect. The name (`npmjs_web3-util`) and web3-themed keywords appear crafted to attract developers searching for web3 utility packages, making this a typosquat-style lure whose payload is the remote-fetch-and-execute chain.\n\n## Source: ghsa-malware (d3c0cd1a1716cccac34dbc67b699361e42946acfab12003fb1af5bb75699439b)\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","affected":[{"package":{"ecosystem":"npm","name":"npmjs_web3-util"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0"],"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"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"195d221b126d6824177b04f1676bdb2e8848a691e680a66d7be867bec4925225","tlsh":"7501bdf09a109873938545583f25c74e60b3c4775880781c6122874c57eaaeb1276fbc"}],"package_integrity":[{"filename":"npmjs_web3-util-1.0.0.tgz","hashes":{"sha1":"256406c890047da4438e0dc6d4754e283f4b1645","sha512_sri":"sha512-HC9KzS+Wd2oJt4Fpey/socZ1onyktIfsICIcj6V+aD7o2b/nqSX/UbwWcWTs3PtJgRKdiriSaiw1SNuP3ZJN2w=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/npmjs_web3-util/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-qjvc-v9v6-xh96"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"263a0126b20b1d58bc0528a4b7bea19027b94383e00b5b9f03b712d96be89ca7","import_time":"2026-05-15T07:37:15.76859045Z","id":"IN-MAL-2026-002672","modified_time":"2026-05-14T19:24:58Z","versions":["1.0.0"]},{"source":"ghsa-malware","sha256":"d3c0cd1a1716cccac34dbc67b699361e42946acfab12003fb1af5bb75699439b","import_time":"2026-06-10T15:25:13.641799611Z","id":"GHSA-qjvc-v9v6-xh96","modified_time":"2026-06-10T13:34:19Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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