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

目标: 1000 元 · 已筹: 1359 元

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

@doaction/examples

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

Summary

Malicious code in @doaction/examples (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
4
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@doaction/examples*
npm@doaction/examples9.9.9
npm@doaction/examples99.99.99
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-09T21:05:39Z","published":"2026-06-09T14:17:42Z","schema_version":"1.7.4","id":"MAL-2026-5372","aliases":["GHSA-3hg6-5qgp-v676"],"summary":"Malicious code in @doaction/examples (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (361bc047872fceb7885c47404eef734b43ce8e5e7f13554e79d011be6f383339)\n@doaction/examples@99.99.99 declares `preinstall: node scripts/postinstall.js` in package.json, which requires `@doaction/shared/bin/postinstall.js`. The package self-describes as 'for internal testing' and depends on `@doaction/shared` at `^99.99.99`. On `npm install`, the preinstall hook auto-executes and loads telemetry code from the sibling `@doaction/shared` package, which collects environment variables and transmits them to a remote destination — the installer has no opportunity to consent and no documented opt-out at this stage. The version `99.99.99` combined with `@doaction` scope and 'internal testing' wording is the canonical dependency-confusion override fingerprint: any organization with private `@doaction/*` packages whose installer pulls from public npm instead of an internal registry will resolve and execute this code in place of their internal package. A secondary integrity concern: a separate `scripts/preinstall.js` file exists but is unreferenced, while the actual preinstall hook points at a file named `postinstall.js` — a naming inconsistency that obscures what executes at install time.\n\n## Source: ghsa-malware (44da964c1ac1406847f9192c36e492ae4a8bb056aed718e6b72aee397fff34ac)\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/examples"},"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":"1f1dc32372e7c221c99f8110c2331e199b08f6facbd546d17ed4768ebb6eebdc","tlsh":"1bd0224d3b8db77c3ce0493e1947230a727181240260b6b878da035287641446a1f4e1"},{"path":"package.json","sha256":"1fd9e671f09b0494acdc6d94d75f04b5dad7cf535e99928db4b769ffcbab676e","tlsh":"26f0e2203b125b331dc175625c3a416a76b14f2b90847d186adf52198b6c27bb5ff21d"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3hg6-5qgp-v676"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@doaction/examples/v/99.99.99"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@doaction/examples/v/9.9.9"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"44da964c1ac1406847f9192c36e492ae4a8bb056aed718e6b72aee397fff34ac","import_time":"2026-06-09T15:22:39.828206584Z","id":"GHSA-3hg6-5qgp-v676","modified_time":"2026-06-09T14:17:43Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"361bc047872fceb7885c47404eef734b43ce8e5e7f13554e79d011be6f383339","import_time":"2026-06-09T17:45:46.692392602Z","id":"IN-MAL-2026-004985","modified_time":"2026-06-09T17:11:51Z","versions":["99.99.99"]},{"source":"amazon-inspector","sha256":"a5cf9d24ddb8566d91003c9f3ea71b41c84e2756534fc389c693b60e99081493","import_time":"2026-06-09T17:45:46.743595671Z","id":"IN-MAL-2026-004986","modified_time":"2026-06-09T17:11:51Z","versions":["99.99.99"]},{"source":"amazon-inspector","sha256":"fef13a39592a8e5fad66c3347235c91556652224858018999f55d14ecbba6a9a","import_time":"2026-07-09T21:03:51.162085692Z","id":"IN-MAL-2026-009403","modified_time":"2026-07-09T21:02:28Z","versions":["9.9.9"]}]}}

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