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

目标: 1000 元 · 已筹: 1359 元

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

eth-base

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

Summary

Malicious code in eth-base (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
89
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmeth-base*
npmeth-base1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-23T22:51:35Z","published":"2026-07-13T06:51:45Z","schema_version":"1.7.4","id":"MAL-2026-10413","aliases":["GHSA-26h4-2435-hp66"],"summary":"Malicious code in eth-base (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (bcc98bc680f3d0b8c6dcf396d9f2425a5153658259014384cedf82698413755b)\nThe published lib/index.js contains ~60KB of obfuscated JavaScript appended after a copy of the legitimate web3.js web3-core-subscriptions module. On require(), the appended IIFE loads axios, issues an HTTPS request to a URL reconstructed at runtime from custom base-85 alphabets, and on a specific response constructs `new Function('require', <remote-token>)(require)` to execute attacker-supplied JavaScript in-process with full Node require access. The corresponding src/index.js is the clean upstream module, indicating the payload was injected only into the shipped build. The package name and description impersonate a web3.js helper (LGPL header still credits Fabian Vogelsteller <fabian@ethereum.org>) while the repository field is empty. Consumers who require this package receive arbitrary code execution on the installing host at load time.\n\n## Source: ghsa-malware (41bca5a4bf7e0ef4a8bb255ed20cefe3835b2b015efed111ce1f87584b285ac6)\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":"eth-base"},"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":"lib/index.js","sha256":"e10aff66d009d9c112131880ed749fd55105931698bf60005f7a69bb3201cbcd","tlsh":"54638a4a59c7b017aa8091d9d8c4a1c5b692293bff8f391cfd44a24eef47d80d2fb095"},{"path":"package.json","sha256":"6e929f6afa0314788a5da0d125dd1f88ac530fea0cd31c9c6ae62ed4bf73a142","tlsh":"43016d38c8655cb305de62a6fc99454292b5520f0d18bc48339c62ac4f6d1df54fe79e"}],"package_integrity":[{"filename":"eth-base-1.0.0.tgz","hashes":{"sha1":"12e2dc0a3c9d53fb5bef37f3dde4d49ec1ece92d","sha512_sri":"sha512-jiqLppgvoS7DKPtqxSqitcN5X8heh9/KsY9jRd8HJsjEl+3uWn8q1cWmjcMUxWj3286K1nP/2G688IE+tgeMmg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/eth-base/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-26h4-2435-hp66"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"bcc98bc680f3d0b8c6dcf396d9f2425a5153658259014384cedf82698413755b","import_time":"2026-07-13T07:40:12.175169146Z","id":"IN-MAL-2026-009837","modified_time":"2026-07-13T06:51:45Z","versions":["1.0.0"]},{"source":"ghsa-malware","sha256":"41bca5a4bf7e0ef4a8bb255ed20cefe3835b2b015efed111ce1f87584b285ac6","import_time":"2026-07-23T22:48:43.747064281Z","id":"GHSA-26h4-2435-hp66","modified_time":"2026-07-23T20:10:38Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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