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

目标: 1000 元 · 已筹: 1336

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

react-wp-viewer

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

Summary

Malicious code in react-wp-viewer (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
172
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
0.2.15unavailable
0.2.4unavailable
0.2.99unavailable
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmreact-wp-viewer*
npmreact-wp-viewer0.2.15
npmreact-wp-viewer0.2.4
npmreact-wp-viewer0.2.99
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-6571","published":"2026-06-29T04:17:26Z","modified":"2026-08-21T12:28:12.538638567Z","aliases":["GHSA-566x-g457-qg8g"],"summary":"Malicious code in react-wp-viewer (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (443f37b7957fe3f1d4dd836b3a0e6eeddb513e334700e0c0a4616570071c13d8)\nreact-wp-viewer 0.2.4 is a dependency-confusion package. Its postinstall hook performs an HTTP GET to a hardcoded bare-IP endpoint at http://130.49.177.51:18080/p/dc-20260627-yandex-geobase carrying the package name, version, and a fixed nonce. The package self-identifies as a dependency-confusion proof-of-concept (`__dependency_confusion_poc__: true`) and the URL path encodes a campaign identifier referencing an internal package namespace, indicating the public name is being squatted to win resolution against an identically-named private/internal package. Any build that resolves `react-wp-viewer` from the public registry will silently execute the postinstall beacon, disclosing the installer's source IP, hostname-derived network position, and the fact that this internal name resolves within their environment, to an attacker-controlled host over plain HTTP. No installer credentials are read in the traced code, but the install-time callout to an attacker-controlled IP is the dependency-confusion attack pattern and provides material reconnaissance value to the operator.\n\n## Source: ghsa-malware (dae245d908c5e9ae1001f2590c5d362fa1f21e148cdf565487424fabdad44700)\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":"react-wp-viewer","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.2.15","0.2.4","0.2.99"],"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"postinstall.js","sha256":"4511fad6b3a02db6a7d6ceffff5f43aff822a423a273336b0dfb0aa02c28bade","tlsh":"60f05cb856f580782ded41c9f3d1b85f95cee241f1557480ed9217d123d369326b26b0"},{"path":"package.json","sha256":"4f315412d4445d69898f3f3f6c1216cf13ffba2c1b1cf45a9711f38890d02e1d","tlsh":"7ce07d185821a73328c04a971577550694706d0b0108790c03e78838d3ce663c2be20f"}],"package_integrity":[{"filename":"react-wp-viewer-0.2.15.tgz","hashes":{"sha1":"2c07f5333e631d27ff6b7aa942dcd1f3605087aa","sha512_sri":"sha512-oGM3xkjQzReHwrsEy9hoHOaIdmo7Ga1Gb73CIu5nAPiASgvr3pKZ0wso5zb7HusX40p2YWECxnDjKT5thV3lHQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/react-wp-viewer/v/0.2.15"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/react-wp-viewer/v/0.2.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/react-wp-viewer/v/0.2.99"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-566x-g457-qg8g"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-007713","import_time":"2026-06-29T05:07:05.765202301Z","modified_time":"2026-06-29T04:17:26Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"08fd73c12a730e8dfbaa5bf21aa086a0a3de88241fbd6d880a20805838929572","source":"amazon-inspector","versions":["0.2.15"]},{"id":"IN-MAL-2026-007715","import_time":"2026-06-29T05:07:06.066562413Z","modified_time":"2026-06-29T04:17:42Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"443f37b7957fe3f1d4dd836b3a0e6eeddb513e334700e0c0a4616570071c13d8","source":"amazon-inspector","versions":["0.2.4"]},{"id":"IN-MAL-2026-007714","import_time":"2026-06-29T05:07:05.929844066Z","modified_time":"2026-06-29T04:17:35Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"5b9202fdee16d26d0f7484f7f9a0d2d264b38ad3200b396ef483cc2439225360","source":"amazon-inspector","versions":["0.2.99"]},{"id":"GHSA-566x-g457-qg8g","import_time":"2026-08-21T12:26:03.440499087Z","modified_time":"2026-08-21T11:53:39Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"dae245d908c5e9ae1001f2590c5d362fa1f21e148cdf565487424fabdad44700","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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