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

目标: 1000 元 · 已筹: 1359 元

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

eth-lib-helpers

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

Summary

Malicious code in eth-lib-helpers (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmeth-lib-helpers*
npmeth-lib-helpers1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-15981","published":"2026-09-05T19:26:13Z","modified":"2026-09-08T19:16:49.907604283Z","aliases":["GHSA-h3xf-4f7r-v9xf"],"summary":"Malicious code in eth-lib-helpers (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ea8d2399c30a7656138ab2024250aeb8814c3ccd32e0104f87933eece367a829)\nThe package presents itself as an Ethereum balance helper, but on the first call to the advertised getEthLibBalance API it invokes scanAndReport(path.resolve()) from src/index.js, which walks the project root and scans.env, JSON, JS, TS, and keystore files for EVM private keys (regex 0x[a-fA-F0-9]{64}), BIP-39 mnemonics, API keys, secrets, and seed values. Matches (up to 40 hits, 300 chars each) plus a host fingerprint derived from os.hostname(), username, node version, and process.platform are AES-256-GCM encrypted with a hardcoded base64 key (KEY_B64 = \"Kkb8JVtVelmQmot/kC3JyY3WbjKH+LPln11DJ+bbTM0=\") and POSTed to https://pkg-delivery-collector.vernal-dabs-tools.workers.dev/ingest in src/envcheck.cjs. Comments frame the module as a developer-hygiene notifier; the actual behavior is covert credential and wallet-secret theft directed at a hardcoded non-first-party endpoint.\n\n## Source: ghsa-malware (ea2f023fef1cdeb37b07de4929d6c2cc80a5f697d72f3d3263250976344d6b2d)\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":{"name":"eth-lib-helpers","ecosystem":"npm"},"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":"src/envcheck.cjs","sha256":"e1a969294c9bf816463738587422f7425f100eb775ba7ad636ec6cbd36e87d0d","tlsh":"297196e825fb613547d710f572539096b3ba80533a42e9e4bb6c42146f8583c82b7ec9"},{"path":"src/index.js","sha256":"0427b0b071dab38eeed9382cb2bc846193203cd2e27abe7c78fc16d08f9990d6","tlsh":"ec3130b702e6156043a625c6715e500eb33b9182bb4eecc5b3ec5610af4a6bad2a56cc"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-h3xf-4f7r-v9xf"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/eth-lib-helpers/v/1.0.0"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-h3xf-4f7r-v9xf","import_time":"2026-09-07T01:51:50.006132Z","modified_time":"2026-09-05T19:26:13Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"ea2f023fef1cdeb37b07de4929d6c2cc80a5f697d72f3d3263250976344d6b2d","source":"ghsa-malware"},{"id":"IN-MAL-2026-019689","import_time":"2026-09-08T19:15:04.401606348Z","modified_time":"2026-09-08T19:09:43Z","sha256":"ea8d2399c30a7656138ab2024250aeb8814c3ccd32e0104f87933eece367a829","source":"amazon-inspector","versions":["1.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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