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

目标: 1000 元 · 已筹: 1359 元

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

@doaction/auth

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

Summary

Malicious code in @doaction/auth (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
4
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@doaction/auth*
npm@doaction/auth9.9.9
npm@doaction/auth99.99.99
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-08T23:29:47Z","published":"2026-06-09T14:17:41Z","schema_version":"1.7.4","id":"MAL-2026-5369","aliases":["GHSA-5cwj-c46v-mpmf"],"summary":"Malicious code in @doaction/auth (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a625267416db212dbcffcba51a6ac48bd779ccd3760b7ef8f59e6b4905df44e5)\npackage.json declares \"preinstall\": \"node scripts/postinstall.js\", which require()s '@doaction/shared/bin/postinstall.js'. The package's stated purpose is to transmit environment data to Datadog (api.datadoghq.com) at install time. The actual fetch/transmit logic lives in the @doaction/shared dependency, not in this tarball, so the runtime behavior at install time depends on what that sibling package executes when loaded. The library API src/index.js exports reportAuthEnv()/reportEnvToDatadog() with an auth-related env whitelist (AUTH_PROVIDER, OAUTH_ENABLED, SSO_ENABLED, etc.); that path requires a caller-supplied ddApiKey and is opt-in. Additionally, package.json wires the preinstall lifecycle to a file named scripts/postinstall.js while an unused scripts/preinstall.js also ships in the tarball — a naming inversion that reduces reviewer signal. The destination is a known commercial observability SaaS rather than attacker infrastructure, and the package's advertised purpose is exactly this telemetry, so this is undisclosed-by-default telemetry shape (consent-violating at install time, breaks air-gapped installs, no opt-out) rather than credential exfiltration to attacker-controlled hosts. Routing to human review to assess the sibling package's actual install-time payload and whether disclosure/opt-out should be required.\n\n## Source: ghsa-malware (4f5cb209773d28630723ae7434596493f0829f1a14a765ba0b66f1f689a10e3a)\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/auth"},"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":"ef506116b05b6500c6e661562c8fa083b0e60bf6d0c92c81456e6e2a9d48e275","tlsh":"5ed0226d3b8df77cbce045ba2a83234672a181280330faa8b886031383240487a1f4e2"},{"path":"src/index.js","sha256":"e66c9daab916ee235bdfc0b6cbf79f14526a26e576aa5538f4ded25331e3dbc3","tlsh":"3f11b56315a43719b89b14d05e4fc192b531c1573e8934e830df57d06f8c4f855b1d94"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5cwj-c46v-mpmf"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@doaction/auth/v/99.99.99"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@doaction/auth/v/9.9.9"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"4f5cb209773d28630723ae7434596493f0829f1a14a765ba0b66f1f689a10e3a","import_time":"2026-06-09T15:22:39.84032744Z","id":"GHSA-5cwj-c46v-mpmf","modified_time":"2026-06-09T14:17:42Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"315373bdc7d680635b763119fdedc6245f623aba4d3423f8f1447f057ea75c90","import_time":"2026-06-09T17:45:47.728343131Z","id":"IN-MAL-2026-004996","modified_time":"2026-06-09T17:14:56Z","versions":["99.99.99"]},{"source":"amazon-inspector","sha256":"f96ec00bc5ed7192c8483a1b27f2212ce64e5a86f1dc309b66d14ea969de00fb","import_time":"2026-06-09T17:45:47.654589514Z","id":"IN-MAL-2026-004995","modified_time":"2026-06-09T17:14:56Z","versions":["99.99.99"]},{"source":"amazon-inspector","sha256":"a625267416db212dbcffcba51a6ac48bd779ccd3760b7ef8f59e6b4905df44e5","import_time":"2026-07-08T23:27:55.557509692Z","id":"IN-MAL-2026-008955","modified_time":"2026-07-08T22:57:44Z","versions":["9.9.9"]}]}}

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