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

目标: 1000 元 · 已筹: 1359 元

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

@galicia-toolkit-nestjs-20-lite/commons

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

Summary

Malicious code in @galicia-toolkit-nestjs-20-lite/commons (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@galicia-toolkit-nestjs-20-lite/commons*
npm@galicia-toolkit-nestjs-20-lite/commons999.0.1
npm@galicia-toolkit-nestjs-20-lite/commons999.0.2
npm@galicia-toolkit-nestjs-20-lite/commons999.0.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17729","published":"2026-10-09T00:00:00Z","modified":"2026-10-12T05:15:54.082568677Z","summary":"Malicious code in @galicia-toolkit-nestjs-20-lite/commons (npm)","details":"@galicia-toolkit-nestjs-20-lite/commons is a dependency confusion package published to npm on 2026-10-09 by the account s4yhii__, targeting the internal @galicia-toolkit-* / @brick-v2 package namespaces with inflated versions (e.g. 999.0.x). Early versions resolve <hostname>.<tag>.dc.oob.s4yhii.com via DNS to beacon the victim's hostname. Later versions run `node index.js` from a preinstall hook, which loads a bundled native addon (prebuilds/<platform>-<arch>/metrics.node, Linux and Windows builds). The addon forks a detached process that collects hostname, username, OS/arch, cwd and the full values of CI/cloud secrets from environment variables (NPM_TOKEN, NODE_AUTH_TOKEN, GITHUB_TOKEN, ACTIONS_RUNTIME_TOKEN, ACTIONS_ID_TOKEN_REQUEST_TOKEN, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, SYSTEM_ACCESSTOKEN, AZURE_DEVOPS_EXT_PAT and others) and sends them as JSON via HTTP POST /native to oob.s4yhii.com:9999.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9974df3d2695630f5921c98037f0359ed3948cc0afd0c13d4ad5043819950f15)\npackage.json declares a preinstall hook `node index.js || true`, which require()'s a bundled native addon at prebuilds/<platform>-<arch>/metrics.node. On N-API registration the addon reads AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, GITHUB_TOKEN, NPM_TOKEN, NODE_AUTH_TOKEN, SYSTEM_ACCESSTOKEN, ACTIONS_RUNTIME_TOKEN, ACTIONS_ID_TOKEN_REQUEST_TOKEN, and AZURE_DEVOPS_EXT_PAT, collects hostname/user/cwd, and POSTs the data as JSON to http://oob.s4yhii.com/native. The payload is concealed inside a compiled.node binary named `metrics` (symbol `do_report`, cover-story env var `_METRICS_PKG`, JSON field `src:native`) with no corresponding C/C++ source shipped; the package otherwise advertises itself as a NestJS commons library, and shipping a native socket-opening module is inconsistent with that purpose. The implausibly high version `999.0.3` on a `@...-lite/commons` scope is consistent with a dependency-confusion lure targeting an internal package name.\n","affected":[{"package":{"name":"@galicia-toolkit-nestjs-20-lite/commons","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["999.0.2","999.0.3","999.0.1"],"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"prebuilds/linux-x64/metrics.node","sha256":"daedefd6a8a02449e29a163a1a92edc0859c0cdb814ec1024b6615fa78bdd375","tlsh":"8272641bb261ce3bc4dc4278015b5ab0b1b25474e77353231b10a1ba3e927485ebaf9a"},{"path":"index.js","sha256":"e51167054446a5e34515cbc25d2512d141edd7854a78ad688f0739baa7541ba7","tlsh":"f0f005dc7fa9b31a52563564d66f010564fbc4f0042cb6c4c009d5d127f0d880a638fc"}],"package_integrity":[{"filename":"commons-999.0.2.tgz","hashes":{"sha1":"0e658b6c6d6be191030f90dd0676f84de53ae28d","sha512_sri":"sha512-VY7eEMnVPU00YdBggbYwnigl8UWFI4PS6Az8fH5kjfwH8niYC+789Dqox8tymapW10ptkSm8LBGWNJGxtCKlQw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@galicia-toolkit-nestjs-20-lite/commons/v/999.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@galicia-toolkit-nestjs-20-lite/commons/v/999.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@galicia-toolkit-nestjs-20-lite/commons/v/999.0.1"},{"type":"WEB","url":"https://www.npmjs.com/package/@galicia-toolkit-nestjs-20-lite/commons"}],"database_specific":{"iocs":{"domains":["oob.s4yhii.com"],"files":[{"note":"Loader: DNS hostname beacon to *.dc.oob.s4yhii.com, or loads the native exfiltration addon (run via preinstall).","paths":["index.js"],"source":"PACKAGE_ARCHIVE"},{"note":"Native addon that exfiltrates host info and CI/cloud secret env vars to oob.s4yhii.com:9999.","paths":["prebuilds/linux-x64/metrics.node","prebuilds/win32-x64/metrics.node"],"source":"PACKAGE_ARCHIVE"}],"urls":["http://oob.s4yhii.com:9999/native"]},"malicious-packages-origins":[{"id":"IN-MAL-2026-021298","import_time":"2026-10-09T13:46:17.993464518Z","modified_time":"2026-10-09T13:37:24Z","sha256":"3a3d8c2302be200e1994c821bdb5fb376867c14b983379bfb7c971d9a201aac6","source":"amazon-inspector","versions":["999.0.2"]},{"id":"IN-MAL-2026-021282","import_time":"2026-10-09T13:46:16.516505826Z","modified_time":"2026-10-09T13:34:51Z","sha256":"9974df3d2695630f5921c98037f0359ed3948cc0afd0c13d4ad5043819950f15","source":"amazon-inspector","versions":["999.0.3"]},{"id":"IN-MAL-2026-021317","import_time":"2026-10-09T13:46:19.457821736Z","modified_time":"2026-10-09T13:40:12Z","sha256":"c575dcd065691331dd499c574c56bad03a912f8ee08ceec399835bdd08718758","source":"amazon-inspector","versions":["999.0.1"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"SafeDep","contact":["https://safedep.io"],"type":"FINDER"}]}

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