Skip to content
Heist/ feed
Back to feed
Unrated

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

Type: advisorySources: OSV

@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 ..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/-/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. --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (90c1fd9505ce4256620f9cb647e3a57a5af52539aa1e717a3eecb0485dec8c83) The package's main entry `index.js` loads a prebuilt native binary at `prebuilds/-/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

Products
@brick-v2/core
Affected versions
999.0.1, 999.0.2
Fixed versions
Not specified
CVEs
Not specified
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 06:03 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 9 Oct 2026, 00:00 UTC

@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 ..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/-/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. --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (90c1fd9505ce4256620f9cb647e3a57a5af52539aa1e717a3eecb0485dec8c83) The package's main entry `index.js` loads a prebuilt native binary at `prebuilds/-/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

osv:MAL-2026-17715

@brick-v2/core

Fixed versions: Not specified

Complete source record
{
  "id": "8128e35c92fc876dfb539cafa3a8b80b7ccac326d7adddf21d95c774f2a72d9f",
  "url": "https://osv.dev/vulnerability/MAL-2026-17715",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Malicious code in @brick-v2/core (npm)",
    "summary": "@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 ..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/-/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. --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (90c1fd9505ce4256620f9cb647e3a57a5af52539aa1e717a3eecb0485dec8c83) The package's main entry `index.js` loads a prebuilt native binary at `prebuilds/-/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 ",
    "evidence": "osv:MAL-2026-17715",
    "products": [
      {
        "name": {
          "value": "@brick-v2/core",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "999.0.2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "999.0.1",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "MAL-2026-17715",
      "aliases": [
        "MAL-2026-17715"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "@brick-v2/core",
            "purl": "pkg:npm/%40brick-v2/core",
            "ecosystem": "npm"
          },
          "versions": [
            "999.0.2",
            "999.0.1"
          ],
          "database_specific": {
            "cwes": [
              {
                "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."
              }
            ],
            "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@brick-v2/core/MAL-2026-17715.json",
            "indicators": {
              "evidence_files": [
                {
                  "path": "prebuilds/linux-x64/metrics.node",
                  "tlsh": "8272641bb261ce3bc4dc4278015b5ab0b1b25474e77353231b10a1ba3e927485ebaf9a",
                  "sha256": "daedefd6a8a02449e29a163a1a92edc0859c0cdb814ec1024b6615fa78bdd375"
                },
                {
                  "path": "index.js",
                  "tlsh": "00f09ed97fa5b35a626676a8d66f015564ffc4f0042cbac4c448c9e127b09480e639fc",
                  "sha256": "28a4105532d31a66371b6137846227bf97a38d10f3c18833e3dabd535e6a5ee3"
                }
              ],
              "package_integrity": [
                {
                  "hashes": {
                    "sha1": "d821df08e6706e25ae21685a64e310c86d29a051",
                    "sha512_sri": "sha512-LT2G7XVm0Gjx4js7K11mW0TLE/MS7y3qlPZMPRBhMrF02E0m/sl3r4o4mTVaDxxr/IRVUDtBG/0mbF8ZDMs8+Q=="
                  },
                  "filename": "core-999.0.2.tgz"
                }
              ]
            }
          }
        }
      ],
      "modified": "2026-10-12T05:30:06.990354396Z",
      "provider": "osv",
      "references": [
        "https://www.npmjs.com/package/@brick-v2/core/v/999.0.2",
        "https://www.npmjs.com/package/@brick-v2/core/v/999.0.1",
        "https://www.npmjs.com/package/@brick-v2/core"
      ],
      "provider_metadata": {
        "iocs": {
          "urls": [
            "http://oob.s4yhii.com:9999/native"
          ],
          "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"
            }
          ],
          "domains": [
            "oob.s4yhii.com"
          ]
        },
        "malicious-packages-origins": [
          {
            "id": "IN-MAL-2026-021309",
            "sha256": "13cc187815f5f1b0024df22bab31f1735b2bb864854af665422a8401a7672226",
            "source": "amazon-inspector",
            "versions": [
              "999.0.2"
            ],
            "import_time": "2026-10-09T13:46:18.836800095Z",
            "modified_time": "2026-10-09T13:39:05Z"
          },
          {
            "id": "IN-MAL-2026-021315",
            "sha256": "90c1fd9505ce4256620f9cb647e3a57a5af52539aa1e717a3eecb0485dec8c83",
            "source": "amazon-inspector",
            "versions": [
              "999.0.1"
            ],
            "import_time": "2026-10-09T13:46:19.303415364Z",
            "modified_time": "2026-10-09T13:39:53Z"
          }
        ]
      }
    },
    "related_cves": [],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 298643,
  "published_at": "2026-10-09T00:00:00+00:00"
}