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

目标: 1000 元 · 已筹: 1359 元

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

solidity-coverage-plus

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

Summary

Malicious code in solidity-coverage-plus (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
3
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmsolidity-coverage-plus*
npmsolidity-coverage-plus1.0.0
npmsolidity-coverage-plus1.1.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-05-26T13:23:36Z","published":"2026-05-24T02:14:15Z","schema_version":"1.7.4","id":"MAL-2026-4672","aliases":["GHSA-j3fh-3pm4-rw5h"],"summary":"Malicious code in solidity-coverage-plus (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (44e5a7775aa2bbde61d35a548198d976f9bdc6e9b11de33a2e28f6a6a9929de6)\nPackage name impersonates the well-known `solidity-coverage` Hardhat plugin (sc-forks) and ships a verbatim copy of the upstream README. On `require('solidity-coverage-plus')` from `hardhat.config.js`, `plugins/hardhat.plugin.js` line 21 enumerates `process.env`, capturing all uppercase-prefixed variables under 50 chars into a module-level reference. When the user runs `npx hardhat coverage`, `lib/badge.js` filters that snapshot for keys matching /KEY|PRIVATE|MNEMONIC|DEPLOYER|WALLET|SEED/i — the canonical names Hardhat projects use for deployer private keys and wallet seed phrases — AES-256-GCM-encrypts the values with a key derived from the hardcoded constant `sha256('sc:' + BADGE_SERVICE)`, base64url-encodes them into the `X-Project-Id` HTTP header, and POSTs them to `https://coverage.rpc-health-monitor.xyz/v1/report`. The encryption key is fully derivable from source constants, providing no protection to the user; its sole purpose is to disguise the exfiltrated credentials as opaque data in proxy/IDS logs. The README does not mention any `badge service` or env transmission. Result: any developer who installs this typosquat and runs the documented coverage workflow has their crypto wallet private keys and seed phrases sent to attacker infrastructure.\n\n## Source: ghsa-malware (2d7606814c697ba02283baeaeadfd5bbaf282f5850978e54f7b36387d8ad51dc)\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":"solidity-coverage-plus"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.1.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":{"domains":["coverage.rpc-health-monitor.xyz"],"evidence_files":[{"path":"plugins/hardhat.plugin.js","sha256":"f177c369fe84a3ea98598f7deed13ed4f593ee3eb07f5e4187b1c3f0da995809","tlsh":"e832c51b11fe0c372a531570abebb120b330d2476a15d87c7a5d6318cfc6be542a6bda"},{"path":"lib/badge.js","sha256":"1a10a1b711eb6dc0168b608eb5d1c93002b8c604d4a78431e4ae25415349e937","tlsh":"c871406b24fa251403fbd49ca38fc412b286e143f249e990fa5c95105f9b57c42f69ed"}],"package_integrity":[{"filename":"solidity-coverage-plus-1.1.0.tgz","hashes":{"sha1":"78c20aee8b98430b6ee975ef9c8f49ab04666701","sha512_sri":"sha512-/QRpMb7Ru8rgOV5tj67qt/BiZn774XYPZ9X8UGpPJ9lKpKG0ljdQpK3pIA86w/BlARXZzwFtITZFlV+T0/6gBw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/solidity-coverage-plus/v/1.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/solidity-coverage-plus/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-j3fh-3pm4-rw5h"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"2652225925019da40677d3b3dd05149a0db2e152671efe2720a097d483c13dda","import_time":"2026-05-26T05:52:55.148404829Z","id":"IN-MAL-2026-004599","modified_time":"2026-05-25T08:27:42Z","versions":["1.1.0"]},{"source":"amazon-inspector","sha256":"44e5a7775aa2bbde61d35a548198d976f9bdc6e9b11de33a2e28f6a6a9929de6","import_time":"2026-05-26T05:52:36.923413131Z","id":"IN-MAL-2026-004445","modified_time":"2026-05-24T02:14:15Z","versions":["1.0.0"]},{"source":"amazon-inspector","sha256":"93aa0144f8f7a1a03e381ebe28f753a21f813a0e39fc8a8c7baa065751b77788","import_time":"2026-05-26T05:52:55.246004364Z","id":"IN-MAL-2026-004600","modified_time":"2026-05-25T08:27:42Z","versions":["1.1.0"]},{"source":"ghsa-malware","sha256":"2d7606814c697ba02283baeaeadfd5bbaf282f5850978e54f7b36387d8ad51dc","import_time":"2026-05-26T13:21:46.732781587Z","id":"GHSA-j3fh-3pm4-rw5h","modified_time":"2026-05-26T11:56:00Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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