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

目标: 1000 元 · 已筹: 1359 元

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

@doaction/rrweb-sdk

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

Summary

Malicious code in @doaction/rrweb-sdk (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
5
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@doaction/rrweb-sdk*
npm@doaction/rrweb-sdk9.9.9
npm@doaction/rrweb-sdk99.99.99
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-09T18:52:14Z","published":"2026-06-09T14:17:42Z","schema_version":"1.7.4","id":"MAL-2026-5376","aliases":["GHSA-j6f2-qf2j-5mh5"],"summary":"Malicious code in @doaction/rrweb-sdk (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6efd52baa69926a32dbac2a3c5eb53c361935e9a3386d2893bf2d7506ab4dfea)\n@doaction/rrweb-sdk@9.9.9 is a dependency-confusion / namespace-impersonation package targeting the rrweb session-recording SDK ecosystem. The package's `package.json` declares `\"preinstall\": \"node scripts/postinstall.js\"`, and `scripts/postinstall.js` does `require('@doaction/shared/bin/postinstall.js')` unconditionally on `npm install`. The transitive `@doaction/shared` dependency collects installer-side environment data and POSTs it to a Datadog endpoint (the package self-describes as Datadog environment telemetry, and `src/index.js` only re-exports `collectEnv` / `sendToDatadog` / `reportEnvToDatadog` — there is no rrweb session-recording code despite the name and keywords). The 9.9.9 version number is a canonical dependency-confusion marker designed to win semver resolution over a legitimately-named internal `rrweb-sdk` package. The package therefore exfiltrates the installer's environment variables (commonly containing CI tokens, cloud credentials, and internal hostnames) to a third party before the consumer's code ever runs. A second lifecycle script `scripts/preinstall.js` ships alongside but is not the one wired into the hook, consistent with templated mass-publication across multiple impersonated SDK names.\n\n## Source: ghsa-malware (8ae23ff4baeae18c4ffdd4dbdc04091dc055aa34b13a2d906d7f798e3c0c209b)\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":"@doaction/rrweb-sdk"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["99.99.99","9.9.9"],"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":{"domains":["e1gjv2ne5a.execute-api.ap-northeast-1.amazonaws.com"],"evidence_files":[{"path":"scripts/postinstall.js","sha256":"864c1719beacd1efc52ae168aa1ce42cd13451fedbc66b12e44e97eed7205333","tlsh":"7dd0224e7a8db77c3ce0457a2943234a72b181340220b6ac789a03529724284aa1f4e1"},{"path":"package.json","sha256":"a95c0e62f440d0c436ab700ee18a723d7bff82d44c215da33f4c750c3e9d6689","tlsh":"dff097203b128b331dc126a25d37801273b18e2f404079082adf2219875c2bfa6ff22d"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-j6f2-qf2j-5mh5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@doaction/rrweb-sdk/v/99.99.99"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@doaction/rrweb-sdk/v/9.9.9"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"8ae23ff4baeae18c4ffdd4dbdc04091dc055aa34b13a2d906d7f798e3c0c209b","import_time":"2026-06-09T15:22:39.848953141Z","id":"GHSA-j6f2-qf2j-5mh5","modified_time":"2026-06-09T14:17:43Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"74897b5bff3cc06fa0038d19991061a22aa6aea2cb2f0e2f2449f66155f45620","import_time":"2026-06-09T17:45:47.878849483Z","id":"IN-MAL-2026-004999","modified_time":"2026-06-09T17:15:04Z","versions":["99.99.99"]},{"source":"amazon-inspector","sha256":"ec32a2626d0a24526822d8f8f691b25e23ddd21bde3d59ef2f5093202f587000","import_time":"2026-06-09T17:45:47.920719302Z","id":"IN-MAL-2026-005000","modified_time":"2026-06-09T17:15:04Z","versions":["99.99.99"]},{"source":"amazon-inspector","sha256":"60dc3d706440873ae849f19f8221c45725dd16a88359fd5c602047791f084347","import_time":"2026-06-09T18:50:22.49308867Z","id":"IN-MAL-2026-005176","modified_time":"2026-06-09T18:16:29Z","versions":["9.9.9"]},{"source":"amazon-inspector","sha256":"6efd52baa69926a32dbac2a3c5eb53c361935e9a3386d2893bf2d7506ab4dfea","import_time":"2026-06-09T18:50:22.433196512Z","id":"IN-MAL-2026-005175","modified_time":"2026-06-09T18:16:28Z","versions":["9.9.9"]}]}}

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