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

目标: 1000 元 · 已筹: 1359 元

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

@brick-v2/icons

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

Summary

Malicious code in @brick-v2/icons (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@brick-v2/icons*
npm@brick-v2/icons999.0.1
npm@brick-v2/icons999.0.2
npm@brick-v2/icons999.0.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17717","published":"2026-10-09T00:00:00Z","modified":"2026-10-12T05:15:53.959721613Z","summary":"Malicious code in @brick-v2/icons (npm)","details":"@brick-v2/icons 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 (915977ddb276c313e2977875d853dfba4eebd12f75ad0826008866b5059c68a8)\n@brick-v2/icons@999.0.3 is a dependency-confusion credential stealer. The package's package.json declares a preinstall script `node index.js`, and index.js's only behavior is to require a platform-specific prebuilt native addon from `prebuilds/<platform>-<arch>/metrics.node`. The native binary reads a curated list of CI and cloud secrets from the environment — AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, GITHUB_TOKEN, NPM_TOKEN, NODE_AUTH_TOKEN, SYSTEM_ACCESSTOKEN, ACTIONS_RUNTIME_TOKEN, ACTIONS_ID_TOKEN_REQUEST_TOKEN, AZURE_DEVOPS_EXT_PAT, and similar — along with hostname, username, cwd, and OS fields, and POSTs them as JSON to the hardcoded attacker endpoint `oob.s4yhii.com` at path `/native`. The JS shim presents a benign Angular-style facade (`forRoot`, `createLogger`, `version` exports) under a plausible scoped name, while the real behavior lives in the opaque native binary; no build system, binding.gyp, or source is shipped. The inflated version `999.0.3` is designed to win semver resolution against any legitimate internal `@brick-v2/icons` package, targeting private registries via dependency confusion. Harm is auto-executed on `npm install` via the preinstall hook, before any user code runs.\n","affected":[{"package":{"name":"@brick-v2/icons","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["999.0.1","999.0.3","999.0.2"],"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":"3f8833d49735dfdfe9bdef504bbb53ff069cb48a3953d9af08659d1c5560cf26","tlsh":"cf72775bb361ce3bc4dc4334055b5a70b1b29870e77353231b11a1bb3d927885ebae9a"},{"path":"index.js","sha256":"437f6c81830bd7ac15efe3ef2928d92f59c450029b1bcc21d27db09504cd59c4","tlsh":"54f02ed53fa9b355a1777664d55b015668ffd4f0141db784c45cc4d026a198809738fc"}],"package_integrity":[{"filename":"icons-999.0.1.tgz","hashes":{"sha1":"adc9d1ea6c102925d891efa912db457f33e05df4","sha512_sri":"sha512-tBoBhCp6TomVJLfI6Xba0gn9uIKryqbTgD6InIZIbE59ttv5CS4JkQbIXCaiPyYsdf406o4eXqCPKSgRM4vKGw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@brick-v2/icons/v/999.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@brick-v2/icons/v/999.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@brick-v2/icons/v/999.0.2"},{"type":"WEB","url":"https://www.npmjs.com/package/@brick-v2/icons"}],"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-021308","import_time":"2026-10-09T13:46:18.762929577Z","modified_time":"2026-10-09T13:38:57Z","sha256":"88a6c17d632b5a7940e2ea85e756778a9f39e80f8e91402e4b46f556b6bea317","source":"amazon-inspector","versions":["999.0.1"]},{"id":"IN-MAL-2026-021283","import_time":"2026-10-09T13:46:16.61724421Z","modified_time":"2026-10-09T13:35:02Z","sha256":"915977ddb276c313e2977875d853dfba4eebd12f75ad0826008866b5059c68a8","source":"amazon-inspector","versions":["999.0.3"]},{"id":"IN-MAL-2026-021295","import_time":"2026-10-09T13:46:17.676638062Z","modified_time":"2026-10-09T13:36:55Z","sha256":"ee63e57c42a765834eecfcad6263ffcd4daf526bd263d6ed2bc8401e9b1d4db2","source":"amazon-inspector","versions":["999.0.2"]}]},"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