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

目标: 1000 元 · 已筹: 1359 元

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

@doaction/storage

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

Summary

Malicious code in @doaction/storage (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
11
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@doaction/storage*
npm@doaction/storage9.9.9
npm@doaction/storage99.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-5379","aliases":["GHSA-v89r-6g3x-gjjv"],"summary":"Malicious code in @doaction/storage (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e2555ac1fb49d2dac0108e398a6acffa2bffa1a86326db5fa384ed1232fdab89)\nPackage @doaction/storage@99.99.99 is shaped as a dependency-confusion attack against the private-looking `@doaction` scope. The 99.99.99 sentinel version is the canonical pattern used to outrank any legitimate internal version when an installer's resolver reaches the public npm registry. On `npm install`, the `preinstall` hook (`node scripts/postinstall.js`) auto-executes and require()s `@doaction/shared/bin/postinstall.js`, which is pulled as a `^99.99.99` dependency. The package's stated purpose and exports (`collectEnv`, `sendToDatadog`, `reportEnvToDatadog` in src/index.js) advertise harvesting environment variables and shipping them to a Datadog intake. Because the actual collection and transmission code lives in the sibling `@doaction/shared` package and not in this tarball, the data set being exfiltrated cannot be audited against any README whitelist — installers have no way to know which env vars (potentially including credentials, tokens, CI secrets) actually leave the host. The combination of private-scope squat + sentinel version + auto-executing preinstall + env-var collection delegated to an opaque sibling is a textbook dependency-confusion exfiltration probe.\n\n## Source: ghsa-malware (620b6a45fe33b78bdac831d940680e63c043ec99c93a5ab26f228c1caf4758c0)\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/storage"},"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":"394d3ad882e949a7ce57d16bd5a4467548fca5639a40d811fee857cec70c7382","tlsh":"29d0224d7a8db7bc3ce0463e2943230a727181340320f2b8789b035687282446a2f4e1"},{"path":"package.json","sha256":"9e4974e897a00e39551522a2d404fcd7850755dc0042d68ee020ec7cfe8869cb","tlsh":"72f09e307b1246331dc052626c36501372b04f6f5144b9082adf11198b1c27f61ff11d"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-v89r-6g3x-gjjv"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@doaction/storage/v/99.99.99"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@doaction/storage/v/9.9.9"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"620b6a45fe33b78bdac831d940680e63c043ec99c93a5ab26f228c1caf4758c0","import_time":"2026-06-09T15:22:39.852805397Z","id":"GHSA-v89r-6g3x-gjjv","modified_time":"2026-06-09T14:17:43Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"bed271cae290d3f21650c07889e7b47c06995105ec413362489c99a060909b79","import_time":"2026-06-09T17:45:47.328697961Z","id":"IN-MAL-2026-004994","modified_time":"2026-06-09T17:14:51Z","versions":["99.99.99"]},{"source":"amazon-inspector","sha256":"e2555ac1fb49d2dac0108e398a6acffa2bffa1a86326db5fa384ed1232fdab89","import_time":"2026-06-09T17:45:47.252049216Z","id":"IN-MAL-2026-004993","modified_time":"2026-06-09T17:14:50Z","versions":["99.99.99"]},{"source":"amazon-inspector","sha256":"b84322c9b2e0700d89d3bccabf437e2c51739968be6a8a66f65dad5252a21ca8","import_time":"2026-06-09T18:50:22.876767748Z","id":"IN-MAL-2026-005178","modified_time":"2026-06-09T18:16:33Z","versions":["9.9.9"]},{"source":"amazon-inspector","sha256":"c160df854e9a1c424d1e3d8808345a00336ae58ecabba9bd9c1f0c6d83b88979","import_time":"2026-06-09T18:50:22.635229143Z","id":"IN-MAL-2026-005177","modified_time":"2026-06-09T18:16:33Z","versions":["9.9.9"]}]}}

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