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

目标: 1000 元 · 已筹: 1359 元

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

@brick-v2/table

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

Summary

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

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@brick-v2/table*
npm@brick-v2/table999.0.1
npm@brick-v2/table999.0.2
npm@brick-v2/table999.0.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17718","published":"2026-10-09T00:00:00Z","modified":"2026-10-12T05:15:53.961338509Z","summary":"Malicious code in @brick-v2/table (npm)","details":"@brick-v2/table 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 (1fdd2bc5b913543c62603b366fb4e1261407f63541e4b01ff7e0052e522523e0)\n@brick-v2/table presents a trivial Angular-style logger/table shim (forRoot/createLogger/version no-ops) while index.js unconditionally side-loads prebuilds/<platform>-<arch>/metrics.node on require(). The native addon reads credential-shaped environment variables from the installer — 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 — along with hostname, uid, cwd, OS, arch, and release, and POSTs them as JSON over raw HTTP/1.0 to the hardcoded host oob.s4yhii.com at path /native. The native code calls fork+setsid to detach the exfil process so it survives after the host process exits. The destination is not first-party, is not caller-configurable, and the cover-story naming (package name unrelated to behavior, 'metrics.node' filename, _METRICS_PKG env var) disguises the stealer as telemetry. The version number 999.0.2 is implausibly high for the package name, consistent with a dependency-confusion lure.\n","affected":[{"package":{"name":"@brick-v2/table","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["999.0.3","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"},{"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":"cb1f098fbee6dfae8ebfdba07446d8fef1745080ed3bb5fc6579c4e854bfae10","tlsh":"a472211eb669ca3fc4988334288bc67461f17470bb33e2133b9157bb2d9168c4675f46"},{"path":"index.js","sha256":"656bffb1e99d97b0a6faee3c254e680bd7fb219f44b7400f8d2ab3266e345cd1","tlsh":"a2f09ed97fa9b35a626676a8d56f015564ffc4f0042dbac4c448c9e127b0d480e63dfc"}],"package_integrity":[{"filename":"table-999.0.3.tgz","hashes":{"sha1":"0843309b4c612104d40c39a8170b25e36c9f6bb2","sha512_sri":"sha512-DjjrKQ9Cs1Og/W6p/k0K+wpSM3H6OOdPbIwEGE0YRJLqCDwYBzyz9zv4VAqwYVX6Ia3a1HHey5avI4WWnc3DYA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@brick-v2/table/v/999.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@brick-v2/table/v/999.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@brick-v2/table/v/999.0.1"},{"type":"WEB","url":"https://www.npmjs.com/package/@brick-v2/table"}],"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-021289","import_time":"2026-10-09T13:46:17.176174154Z","modified_time":"2026-10-09T13:36:01Z","sha256":"14cde1c957f1744198b621bbe4f643ebec8ce12715bba3d7b0ac95f4695a7ad3","source":"amazon-inspector","versions":["999.0.3"]},{"id":"IN-MAL-2026-021299","import_time":"2026-10-09T13:46:18.073226517Z","modified_time":"2026-10-09T13:37:33Z","sha256":"1fdd2bc5b913543c62603b366fb4e1261407f63541e4b01ff7e0052e522523e0","source":"amazon-inspector","versions":["999.0.2"]},{"id":"IN-MAL-2026-021312","import_time":"2026-10-09T13:46:19.056547419Z","modified_time":"2026-10-09T13:39:28Z","sha256":"289c5a11091bb1a39a200214859ff7fd3c8fe3d2824b5ca5d5ea0030ddcace0a","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