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

目标: 1000 元 · 已筹: 1359 元

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

web3-core-js

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

Summary

Malicious code in web3-core-js (npm)

安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmweb3-core-js1.0.0
npmweb3-core-js2.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-05-15T07:39:10Z","published":"2026-05-13T11:51:32Z","schema_version":"1.7.4","id":"MAL-2026-3719","summary":"Malicious code in web3-core-js (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (46f9612aaab12b9656a1f1b5fbd7684fdcd57833bbf76d14b2a243f679cb0977)\npackage.json declares a lifecycle hook that invokes require('child_process') and execSync with a curl command at install time. This pattern fetches remote content and executes it on the installer's machine as part of `npm install`, before any user code runs. The package name mimics the widely-used web3/web3-core ecosystem while shipping only a lifecycle trigger for remote execution — no library code consistent with the claimed web3 purpose is present. Running `npm install web3-core-js` on any developer or CI machine results in arbitrary attacker-controlled bytes being fetched and executed with the privileges of the installing user.\n\n## Source: ossf-package-analysis (44e1f40536600c94540b0fd722439856b2f118f6090709db7461f5aa06fc2fb4)\nThe OpenSSF Package Analysis project identified 'web3-core-js' @ 2.0.0 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package executes one or more commands associated with malicious behavior.\n","affected":[{"package":{"ecosystem":"npm","name":"web3-core-js"},"versions":["2.0.0","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"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"98eb7c4c2c264f51ed009e166ac42759ba3f12ae963a217346de9d542cacb24f","tlsh":"faf0dc14bf105ab328c19e660a179ace5277c90b40647c58b29fa05c43dcbab14fba5a"}],"package_integrity":[{"filename":"web3-core-js-1.0.0.tgz","hashes":{"sha1":"9b708127c55085dcceecd0b74d78b0fca4e3de1c","sha512_sri":"sha512-LKgvmDuz75CrI7g7kNhQnYFEjVqXUoeEm7nNUeRxjsnBozTBJFsVOeZKTrNb7Zz2VTkTcD8QPkPNK30LODPEVg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/web3-core-js/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]},{"name":"OpenSSF: Package Analysis","type":"FINDER","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"]}],"database_specific":{"malicious-packages-origins":[{"source":"ossf-package-analysis","sha256":"44e1f40536600c94540b0fd722439856b2f118f6090709db7461f5aa06fc2fb4","import_time":"2026-05-13T21:58:23.286634175Z","modified_time":"2026-05-13T12:10:45Z","versions":["2.0.0"]},{"source":"ossf-package-analysis","sha256":"c0a95589cd0b99b71ac59651cbd59198745377c7812ab23b040f6cb5d8e57710","import_time":"2026-05-13T21:58:23.870373359Z","modified_time":"2026-05-13T11:51:32Z","versions":["1.0.0"]},{"source":"amazon-inspector","sha256":"46f9612aaab12b9656a1f1b5fbd7684fdcd57833bbf76d14b2a243f679cb0977","import_time":"2026-05-15T07:37:18.083758968Z","id":"IN-MAL-2026-002722","modified_time":"2026-05-14T19:25:25Z","versions":["1.0.0"]}]}}

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