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

目标: 1000 元 · 已筹: 1359 元

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

devplatform-react-hooks

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

Summary

Malicious code in devplatform-react-hooks (npm)

文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
134
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmdevplatform-react-hooks35.5.7
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-05T13:47:00Z","published":"2026-08-05T13:47:00Z","schema_version":"1.7.4","id":"MAL-2026-12736","summary":"Malicious code in devplatform-react-hooks (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7e5dd30e287186df59dd24c05aa269894c259f42c8a2a214d513e55c6510474e)\nOn require() of the package's main entry (index.js -> _init.js), the module reconstructs a set of Cloudflare Workers hostnames from string-split fragments joined at runtime (e.g. ['oob-worker.cf99-9b3.w','orkers.de','v'].join('')), rotates through oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, and oob-worker.cf102-baf.workers.dev, with a DNS-TXT fallback under *.wel1.ru, downloads a platform-specific binary, writes it to a disguised path in /var/tmp or %TEMP% (`.cache_<hex>` on POSIX, `dotnet_diag_<hex>.exe` on Windows), sets mode 0755, and spawns it detached via /bin/sh -c or cmd.exe /c start /b. Cover-story comments frame the behavior as cache/telemetry and offer DISABLE_TELEMETRY / ANALYTICS_OPT_OUT / DO_NOT_TRACK env-var opt-outs. A second module, lib/telemetry.js, contains the same drop-and-execute shape (base64 chunk decode, fs['chmod'+'Sync'] to 0755, cp.spawn('/bin/sh', ['-c', filePath+' &'])) but is not reached from the declared main. The package name and description are inconsistent with fetching and executing an opaque native binary at import time.\n","affected":[{"package":{"ecosystem":"npm","name":"devplatform-react-hooks"},"versions":["35.5.7"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"_init.js","sha256":"6cf7752a80b1cfd65b377c9d43483fd2bd6e13c319b1c9576a2f0c038f3c9b3f","tlsh":"caa1765a16aa60088b70d7e0c7174416f65bf6633780c698f79c69885fb3124c2b2efc"},{"path":"lib/telemetry.js","sha256":"85dbdc02d0e3e77b0f87c5ce2e37d5f5d02bec906f14bbcd82494e0e7c733806","tlsh":"f3835056566a142186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"}],"package_integrity":[{"filename":"devplatform-react-hooks-35.5.7.tgz","hashes":{"sha1":"27ba56a10bb43a527f4ee51d8595a24d9e8908a0","sha512_sri":"sha512-qeQAOufo9i14SJD9tJ1M+0YBc64WJtbBO6aHpbYh4AfcQFq0nx2qZPMVpbWdCQnqQ3jJNoS8L3nrWL7wsaVxww=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/devplatform-react-hooks/v/35.5.7"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015037","import_time":"2026-08-05T14:19:55.150805273Z","modified_time":"2026-08-05T13:47:00Z","sha256":"7e5dd30e287186df59dd24c05aa269894c259f42c8a2a214d513e55c6510474e","source":"amazon-inspector","versions":["35.5.7"]}]}}

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