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

目标: 1000 元 · 已筹: 1359 元

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

react-next-dom

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

Summary

Malicious code in react-next-dom (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
5
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmreact-next-dom1.1.7
npmreact-next-dom17.2.7
npmreact-next-dom17.2.8
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-6825","published":"2026-07-06T18:02:36Z","modified":"2026-09-01T11:20:29.435363326Z","aliases":["GHSA-99rj-fjph-w44m"],"summary":"Malicious code in react-next-dom (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8e7369fd2dd1ba9002d2c693ba08c553c7c6fef54dba372146c11f20b43607aa)\nreact-next-dom masquerades as a React/Next.js ecosystem package but ships a pino-like surface concealing a remote code loader. The main export is a middleware factory that, when invoked, spawns `node./lib/caller.js` as a detached, stdio-ignored child process (`spawn(\"node\", [script,...], { detached: true, stdio: \"ignore\" }); child.unref()`). lib/caller.js then fetches a JavaScript payload from https://jsonkeeper.com/b/D3GLF (using an `x-secret-key` header), and evaluates the response body in the host Node.js process via `new Function.constructor(\"require\", s)(require)`, retrying up to 5 times. Additional payload URLs (https://jsonkeeper.com/b/XRGF3, https://jsonkeeper.com/b/4NAKK) are hidden as base64 blobs disguised as `DEV_API_KEY` constants in lib/caller.js and lib/const.js. jsonkeeper.com is an anonymous public paste service — content is attacker-mutable, and the executed code runs with full `require` access, giving the operator arbitrary code execution on any host that loads this package's middleware. The package name evokes react/react-dom/next.js while the shipped code impersonates pino (keywords `fast`,`logger`,`stream`,`json`; files `pino.js`, transport, multistream, redaction; `module.exports.pino = middleware`), a typosquat/impersonation cover for the loader.\n\n## Source: ghsa-malware (2a7b3360c09fca3400981d3d0d4c5e8a72c8193e0841c5d2eceb193a08fc440e)\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-next-dom","ecosystem":"npm"},"versions":["17.2.7","1.1.7","17.2.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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"lib/caller.js","sha256":"50fa35db3eea89d04c039675f506cf0c5fd0ddf81b3a7da8e06110e3ece0a7f1","tlsh":"b4019e4a30fe606c015520f64b1fe0317011e4273c49e5c5378c87514fea9ae6963fed"},{"path":"index.js","sha256":"2956b023858d706a5e241cd28b845088e5f414c5f70bd5d8cb73cb427d081065","tlsh":"5d213c81b9f11188065cd9c8b569e53a38e3c4377207b9b0e9ec87862bcf2080272ad7"},{"path":"package.json","sha256":"494f07eca29d72c6537d370592d38344579d2500c49265655722a48801ae7e6e","tlsh":"35019c61ce788e2305ed25824c2a064376715c075828fc2933db912c0f9e5bf01bf25d"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-99rj-fjph-w44m"},{"type":"WEB","url":"https://www.sonatype.com/blog/lazarus-groups-latest-brandjacking-campaign-on-npm"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/react-next-dom/v/17.2.8"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-99rj-fjph-w44m","import_time":"2026-07-06T18:54:03.592678858Z","modified_time":"2026-07-06T18:02:37Z","sha256":"2a7b3360c09fca3400981d3d0d4c5e8a72c8193e0841c5d2eceb193a08fc440e","source":"ghsa-malware","versions":["17.2.7","1.1.7"]},{"id":"GHSA-99rj-fjph-w44m","import_time":"2026-07-06T19:53:47.941480649Z","modified_time":"2026-07-06T18:59:18Z","sha256":"0972af1bf8dd73b997728e3aefd1706db878fd30639489746803b338c5b64be5","source":"ghsa-malware","versions":["17.2.8","17.2.7","1.1.7"]},{"id":"RLMA-2026-05258","import_time":"2026-07-09T09:16:47.57221822Z","modified_time":"2026-07-07T13:07:22Z","sha256":"5c0e1b68083517d6b862db7f0e924e39e1b6535d50605607d4e963e8dd582b75","source":"reversing-labs","versions":["1.1.7","17.2.7"]},{"id":"IN-MAL-2026-009250","import_time":"2026-07-09T16:20:54.338775823Z","modified_time":"2026-07-09T15:50:06Z","sha256":"8e7369fd2dd1ba9002d2c693ba08c553c7c6fef54dba372146c11f20b43607aa","source":"amazon-inspector","versions":["17.2.8"]},{"id":"RLUA-2026-06418","import_time":"2026-09-01T11:18:18.979288874Z","modified_time":"2026-08-24T17:07:14Z","sha256":"21525e1a3e3cd52aafa4f0fcf4867bf6165bfb59ec49e2033de36f8c9f373402","source":"reversing-labs","versions":["17.2.8"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}

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