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

目标: 1000 元 · 已筹: 1359 元

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

@doaction/types

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

Summary

Malicious code in @doaction/types (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
5
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@doaction/types*
npm@doaction/types9.9.9
npm@doaction/types99.99.99
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-09T18:52:14Z","published":"2026-06-09T14:17:43Z","schema_version":"1.7.4","id":"MAL-2026-5382","aliases":["GHSA-m5q9-qwgm-wvqx"],"summary":"Malicious code in @doaction/types (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4092c28082abff16427aa0e246a327796294411786dae585fb4ab3114ad6504f)\n@doaction/types@99.99.99 is a dependency-confusion lure targeting an internal `@doaction` scope. The package.json declares `\"version\": \"99.99.99\"` and pins `\"@doaction/shared\": \"^99.99.99\"` — the canonical version-flooding pattern designed to beat any private-registry copy of the same scoped name. The preinstall lifecycle hook (`\"preinstall\": \"node scripts/postinstall.js\"`) runs automatically on `npm install` and require()s `@doaction/shared/bin/preinstall.js`; src/index.js wires `reportEnvToDatadog` from `@doaction/shared`, whose declared purpose is to collect environment variables and POST them to Datadog. The installer never opts in. The require() is wrapped in a try/catch that swallows everything except MODULE_NOT_FOUND, suppressing exfil errors in CI logs. The combination — internal-scope name confusion, 99.99.99 version flood, automatic preinstall execution, env-var shipment via a sibling package, and silenced error output — is the textbook dependency-confusion exfiltration shape and produces direct attacker benefit (capture of internal env vars, which routinely include CI tokens, cloud credentials, and registry auth).\n\n## Source: ghsa-malware (d1c332f0151e48396ca14ef9a9003bba8e208793e54d347df951900a232ef850)\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/types"},"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/preinstall.js","sha256":"6ab5d1e0213284c1bf96db2df1eda69afd756ba79a39c9b239b2c344c345078c","tlsh":"dce0ab3836e8b03cbcb55d7165171381339294190938bd94b8ce43628b79098262be93"},{"path":"package.json","sha256":"6cd135e6c601266a54832ab3ce6b4592761871b29b72a2b10d797d41584addcd","tlsh":"20f0e2203a125a331dc265629d3a4017a2b18e6f605479082acb511ac72d27e65ff21d"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-m5q9-qwgm-wvqx"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@doaction/types/v/99.99.99"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@doaction/types/v/9.9.9"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"d1c332f0151e48396ca14ef9a9003bba8e208793e54d347df951900a232ef850","import_time":"2026-06-09T15:22:39.849753853Z","id":"GHSA-m5q9-qwgm-wvqx","modified_time":"2026-06-09T14:17:51Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"4092c28082abff16427aa0e246a327796294411786dae585fb4ab3114ad6504f","import_time":"2026-06-09T16:59:45.955465056Z","id":"IN-MAL-2026-004981","modified_time":"2026-06-09T16:09:33Z","versions":["99.99.99"]},{"source":"amazon-inspector","sha256":"7b9d659af58dcb16495305add286e16d02324295468a0597cb273b9c37a4a604","import_time":"2026-06-09T16:59:45.99429225Z","id":"IN-MAL-2026-004982","modified_time":"2026-06-09T16:09:34Z","versions":["99.99.99"]},{"source":"amazon-inspector","sha256":"8826961aefa60ef642fde11e2ff961f17ec70c5f6b193191118281f15a32f42f","import_time":"2026-06-09T18:50:22.229700599Z","id":"IN-MAL-2026-005173","modified_time":"2026-06-09T18:16:23Z","versions":["9.9.9"]},{"source":"amazon-inspector","sha256":"a7dbc497c8a7236a0e0300289b21287416dc94d8cb6cced776fa0d4bcb1a4866","import_time":"2026-06-09T18:50:22.383711164Z","id":"IN-MAL-2026-005174","modified_time":"2026-06-09T18:16:23Z","versions":["9.9.9"]}]}}

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