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

目标: 1000 元 · 已筹: 1359 元

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

@brick-v2/core

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

Summary

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

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@brick-v2/core*
npm@brick-v2/core999.0.1
npm@brick-v2/core999.0.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17715","published":"2026-10-09T00:00:00Z","modified":"2026-10-12T05:15:53.956617934Z","summary":"Malicious code in @brick-v2/core (npm)","details":"@brick-v2/core 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 (90c1fd9505ce4256620f9cb647e3a57a5af52539aa1e717a3eecb0485dec8c83)\nThe package's main entry `index.js` loads a prebuilt native binary at `prebuilds/<platform>-<arch>/metrics.node` inside a top-level try/catch, executing native code within the Node process as soon as the module is required. The ELF binary reads credential-grade environment variables including AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, GITHUB_TOKEN, NPM_TOKEN, NODE_AUTH_TOKEN, SYSTEM_ACCESSTOKEN, ACTIONS_RUNTIME_TOKEN, and ACTIONS_ID_TOKEN_REQUEST_TOKEN, along with hostname, uid, and current working directory, and POSTs them as JSON to the hardcoded host `oob.s4yhii.com` via a raw socket (`POST /native HTTP/1.0`). The native code also invokes `fork`/`setsid` to detach from the parent process. The package is published as `@brick-v2/core` at version `999.0.1` with a trivial JS wrapper, a generic `core module` description, and `UNLICENSED` — a shape consistent with a dependency-confusion payload targeting a private `@brick-v2` scope so that npm resolution prefers this public version over an internal package.\n","affected":[{"package":{"name":"@brick-v2/core","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["999.0.2","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"}],"indicators":{"evidence_files":[{"path":"prebuilds/linux-x64/metrics.node","sha256":"daedefd6a8a02449e29a163a1a92edc0859c0cdb814ec1024b6615fa78bdd375","tlsh":"8272641bb261ce3bc4dc4278015b5ab0b1b25474e77353231b10a1ba3e927485ebaf9a"},{"path":"index.js","sha256":"28a4105532d31a66371b6137846227bf97a38d10f3c18833e3dabd535e6a5ee3","tlsh":"00f09ed97fa5b35a626676a8d66f015564ffc4f0042cbac4c448c9e127b09480e639fc"}],"package_integrity":[{"filename":"core-999.0.2.tgz","hashes":{"sha1":"d821df08e6706e25ae21685a64e310c86d29a051","sha512_sri":"sha512-LT2G7XVm0Gjx4js7K11mW0TLE/MS7y3qlPZMPRBhMrF02E0m/sl3r4o4mTVaDxxr/IRVUDtBG/0mbF8ZDMs8+Q=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@brick-v2/core/v/999.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@brick-v2/core/v/999.0.1"},{"type":"WEB","url":"https://www.npmjs.com/package/@brick-v2/core"}],"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-021309","import_time":"2026-10-09T13:46:18.836800095Z","modified_time":"2026-10-09T13:39:05Z","sha256":"13cc187815f5f1b0024df22bab31f1735b2bb864854af665422a8401a7672226","source":"amazon-inspector","versions":["999.0.2"]},{"id":"IN-MAL-2026-021315","import_time":"2026-10-09T13:46:19.303415364Z","modified_time":"2026-10-09T13:39:53Z","sha256":"90c1fd9505ce4256620f9cb647e3a57a5af52539aa1e717a3eecb0485dec8c83","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