Skip to content
Heist/ feed
Back to feed
Unrated

Malicious code in @galicia-toolkit-nestjs-20/archetype (npm)

Type: advisorySources: OSV

@galicia-toolkit-nestjs-20/archetype 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 (662603823964bdbc871f386498e949d768c84d99645690ee3b5e904b458536db) On module load, index.js unconditionally require()s a bundled native binary at prebuilds/-/metrics.node inside a try/catch that swallows errors. The ELF reads installer-side credential-grade environment variables (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, and uname, and POSTs

Products
@galicia-toolkit-nestjs-20/archetype
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 @galicia-toolkit-nestjs-20/archetype (npm)

core-osv · Original source

Published 9 Oct 2026, 00:00 UTC

@galicia-toolkit-nestjs-20/archetype 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 (662603823964bdbc871f386498e949d768c84d99645690ee3b5e904b458536db) On module load, index.js unconditionally require()s a bundled native binary at prebuilds/-/metrics.node inside a try/catch that swallows errors. The ELF reads installer-side credential-grade environment variables (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, and uname, and POSTs

osv:MAL-2026-17725

@galicia-toolkit-nestjs-20/archetype

Fixed versions: Not specified

Complete source record
{
  "id": "1f8f79e206900043350f488efbbf6a4502c6cc9b073b82a9c3dd20ab8674bf72",
  "url": "https://osv.dev/vulnerability/MAL-2026-17725",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Malicious code in @galicia-toolkit-nestjs-20/archetype (npm)",
    "summary": "@galicia-toolkit-nestjs-20/archetype 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 (662603823964bdbc871f386498e949d768c84d99645690ee3b5e904b458536db) On module load, index.js unconditionally require()s a bundled native binary at prebuilds/-/metrics.node inside a try/catch that swallows errors. The ELF reads installer-side credential-grade environment variables (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, and uname, and POSTs ",
    "evidence": "osv:MAL-2026-17725",
    "products": [
      {
        "name": {
          "value": "@galicia-toolkit-nestjs-20/archetype",
          "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-17725",
      "aliases": [
        "MAL-2026-17725"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "@galicia-toolkit-nestjs-20/archetype",
            "purl": "pkg:npm/%40galicia-toolkit-nestjs-20/archetype",
            "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/@galicia-toolkit-nestjs-20/archetype/MAL-2026-17725.json",
            "indicators": {
              "evidence_files": [
                {
                  "path": "prebuilds/linux-x64/metrics.node",
                  "tlsh": "8272641bb261ce3bc4dc4278015b5ab0b1b25474e77353231b10a1ba3e927485ebaf9a",
                  "sha256": "daedefd6a8a02449e29a163a1a92edc0859c0cdb814ec1024b6615fa78bdd375"
                },
                {
                  "path": "index.js",
                  "tlsh": "4af005dc7fa5b35a52663568d65f010564fbc0f0041cb684c04dcad127f0dc809539fc",
                  "sha256": "52f3f903b905bf2929b75451304159ead06d7a7f6393c3089e2acaa574f568bb"
                }
              ],
              "package_integrity": [
                {
                  "hashes": {
                    "sha1": "fd4aeb49fe0bd80aee85b6885e4973f3f8d71a12",
                    "sha512_sri": "sha512-xI9mlJ467qRiB54OnOfL7cVO/M1RINoV1tFssJIPSZg0R3LYR85zf16VSN6jHXt1S/SO0Ni8LhhxIx+mwqT2rA=="
                  },
                  "filename": "archetype-999.0.2.tgz"
                }
              ]
            }
          }
        }
      ],
      "modified": "2026-10-12T05:30:05.939958568Z",
      "provider": "osv",
      "references": [
        "https://www.npmjs.com/package/@galicia-toolkit-nestjs-20/archetype/v/999.0.2",
        "https://www.npmjs.com/package/@galicia-toolkit-nestjs-20/archetype/v/999.0.1",
        "https://www.npmjs.com/package/@galicia-toolkit-nestjs-20/archetype"
      ],
      "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-021307",
            "sha256": "662603823964bdbc871f386498e949d768c84d99645690ee3b5e904b458536db",
            "source": "amazon-inspector",
            "versions": [
              "999.0.2"
            ],
            "import_time": "2026-10-09T13:46:18.664626227Z",
            "modified_time": "2026-10-09T13:38:48Z"
          },
          {
            "id": "IN-MAL-2026-021323",
            "sha256": "b494c2f9dc32618d0dc946ba4570f3fe98475a4f32d29a3996ae0a2f8b2271ac",
            "source": "amazon-inspector",
            "versions": [
              "999.0.1"
            ],
            "import_time": "2026-10-09T13:46:19.895701822Z",
            "modified_time": "2026-10-09T13:41:12Z"
          }
        ]
      }
    },
    "related_cves": [],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 298636,
  "published_at": "2026-10-09T00:00:00+00:00"
}