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

目标: 1000 元 · 已筹: 1359 元

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

@brick-v2/brand

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

Summary

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

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@brick-v2/brand*
npm@brick-v2/brand999.0.1
npm@brick-v2/brand999.0.2
npm@brick-v2/brand999.0.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17714","published":"2026-10-09T00:00:00Z","modified":"2026-10-12T05:15:53.951098629Z","summary":"Malicious code in @brick-v2/brand (npm)","details":"@brick-v2/brand 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 (a194395a620ef40055a22d7beccbab1e1ca0c662afe83b9ee2fb23d07ebaedc5)\npackage.json declares a preinstall hook `node index.js || true` that loads a prebuilt native addon at prebuilds/<platform>-<arch>/metrics.node. The addon reads credential-grade environment variables (AWS_SECRET_ACCESS_KEY and other AWS_*, GITHUB_TOKEN, NPM_TOKEN, NODE_AUTH_TOKEN, SYSTEM_ACCESSTOKEN, ACTIONS_RUNTIME_TOKEN, ACTIONS_ID_TOKEN_REQUEST_TOKEN, AZURE_DEVOPS_EXT_PAT) and host identifiers (hostname via gethostname/GetComputerNameA, username via getpwuid/GetUserNameA, uname release, cwd, package name), serializes them into a JSON payload of shape `{\"src\":\"native\",\"pkg\":...,\"h\":...,\"u\":...,\"os\":...,\"arch\":...,\"rel\":...,\"cwd\":...,\"e\":{...}}`, and transmits it via a raw TCP socket (socket/connect/send, with setsid+fork daemonization on Linux) to the hardcoded host oob.s4yhii.com using `POST /native HTTP/1.0`. The same exfiltration behavior is present in both the linux-x64 and win32-x64 prebuilt binaries. The JavaScript entry point exports only inert NestJS-style `forRoot` / `createLogger` placeholders; the entire operational behavior resides in the opaque native binary. The package is published under the private-looking scope `@brick-v2` at version `999.0.3`, a version-inflation shape consistent with dependency-confusion resolution against an internal `@brick-v2` scope.\n","affected":[{"package":{"name":"@brick-v2/brand","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":"package.json","sha256":"1a17d809f782d801d813f4a551fe60866bb8ac09855e8df71a7dc8b38ac3b19d","tlsh":"58c080705531142314c6dbe58ce249074adb0c6f004574041757552441fd73314ff33c"}],"package_integrity":[{"filename":"brand-999.0.1.tgz","hashes":{"sha1":"2a94637ece2a2f7905fea6375b9cb8ccb8c3cd20","sha512_sri":"sha512-s/ZulG7hGTvmqtUG7BoFvovsjk6EykZAGUsYgqz6Im+yuEeMUxPBdzlRJWZtFilpWKGXl9G9F3xhuFjMMGXHxw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@brick-v2/brand/v/999.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@brick-v2/brand/v/999.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@brick-v2/brand/v/999.0.2"},{"type":"WEB","url":"https://www.npmjs.com/package/@brick-v2/brand"}],"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-021313","import_time":"2026-10-09T13:46:19.147946933Z","modified_time":"2026-10-09T13:39:36Z","sha256":"197d8de60092ac86ecda23eedf003121f46b8a7c34c5f60eeabd6c23134e2983","source":"amazon-inspector","versions":["999.0.1"]},{"id":"IN-MAL-2026-021284","import_time":"2026-10-09T13:46:16.693711029Z","modified_time":"2026-10-09T13:35:10Z","sha256":"a194395a620ef40055a22d7beccbab1e1ca0c662afe83b9ee2fb23d07ebaedc5","source":"amazon-inspector","versions":["999.0.3"]},{"id":"IN-MAL-2026-021300","import_time":"2026-10-09T13:46:18.147710836Z","modified_time":"2026-10-09T13:37:42Z","sha256":"f7cfeebad59fc63be0a47be28ded37bfe722bbb39be81bb9d0fe9ba60f9db644","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