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

目标: 1000 元 · 已筹: 1359 元

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

@brick-v2/form

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

Summary

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

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@brick-v2/form*
npm@brick-v2/form999.0.1
npm@brick-v2/form999.0.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17716","published":"2026-10-09T00:00:00Z","modified":"2026-10-12T05:15:53.958207710Z","summary":"Malicious code in @brick-v2/form (npm)","details":"@brick-v2/form 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 (61727d51587469176de52cbc3c82a53b4572ecfc6c7f7b4c7edf534950b0f536)\nThe package ships a tiny JavaScript stub at index.js that silently require()s a compiled native addon at prebuilds/linux-x64/metrics.node inside a try/catch that suppresses errors. On load, the addon reads a hardcoded list of credential-bearing environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS session token, GITHUB_TOKEN, NPM_TOKEN, NODE_AUTH_TOKEN, ACTIONS_RUNTIME_TOKEN, ACTIONS_ID_TOKEN_REQUEST_TOKEN, SYSTEM_ACCESSTOKEN) along with hostname, user, cwd, and OS/arch, and sends them as a JSON body via a raw TCP socket (gethostbyname/socket/connect/send) in a 'POST /native HTTP/1.0' request to the hardcoded external host oob.s4yhii.com. The addon also imports fork and setsid, consistent with detaching into a background process so the exfiltration channel survives beyond the host Node process. The compiled ELF is the entire payload; the JS wrapper exposes no form-related functionality matching the stated 'form module' description. The package manifest (scoped name @brick-v2/form, inflated version 999.0.1, UNLICENSED, minimal metadata) matches the dependency-confusion shape used to outrank an internal private-registry package of the same scope.\n","affected":[{"package":{"name":"@brick-v2/form","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["999.0.1","999.0.3"],"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":"3f8833d49735dfdfe9bdef504bbb53ff069cb48a3953d9af08659d1c5560cf26","tlsh":"cf72775bb361ce3bc4dc4334055b5a70b1b29870e77353231b11a1bb3d927885ebae9a"},{"path":"index.js","sha256":"437f6c81830bd7ac15efe3ef2928d92f59c450029b1bcc21d27db09504cd59c4","tlsh":"54f02ed53fa9b355a1777664d55b015668ffd4f0141db784c45cc4d026a198809738fc"},{"path":"package.json","sha256":"eead62cf4bdc3f2e31ebec14126069652f172a4ab123e314927bd41796db8b09","tlsh":"afc08c30653164230dcaafe4eca38e064be70d6f4046b0141b97682842eda3328fe33c"}],"package_integrity":[{"filename":"form-999.0.1.tgz","hashes":{"sha1":"aa98960f4c4081b1d51b78c1ca236115e624608a","sha512_sri":"sha512-NQePMrnOuyY7ydwtTaXdsV/jlxnXeWji7/Hxd+ZuZ8R5X2thFveS0sZTcvOkMyZ7X5gLyTeO1QS4619PDPg00w=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@brick-v2/form/v/999.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@brick-v2/form/v/999.0.3"},{"type":"WEB","url":"https://www.npmjs.com/package/@brick-v2/form"}],"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-021310","import_time":"2026-10-09T13:46:18.910158588Z","modified_time":"2026-10-09T13:39:12Z","sha256":"61727d51587469176de52cbc3c82a53b4572ecfc6c7f7b4c7edf534950b0f536","source":"amazon-inspector","versions":["999.0.1"]},{"id":"IN-MAL-2026-021291","import_time":"2026-10-09T13:46:17.332104249Z","modified_time":"2026-10-09T13:36:18Z","sha256":"a4c046851059a832d8777dacd92adf805b025e1796e9524bfcef6a274b44c68c","source":"amazon-inspector","versions":["999.0.3"]}]},"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