mal-2026-17722
Vulnerability from ossf_malicious_packages
Published
2026-10-09 13:36
Modified
2026-10-09 17:18
Summary
Malicious code in @galicia-toolkit-nestjs/commons (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (eae27acb3901d275439e482d51a1451df67c1a6b2011f35881253a3fa8d2456b)

The package ships a tiny index.js that require()s a bundled ELF at prebuilds/linux-x64/metrics.node inside a swallow-all try/catch on module load. No C/C++ source, binding.gyp, or node-gyp/prebuild tooling is present, so the native binary cannot be rebuilt from source and its behavior is opaque to consumers. Strings extracted from the binary show it reads CI and cloud credential 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, username and cwd, then opens a raw socket to the hardcoded host oob.s4yhii.com and issues POST /native HTTP/1.0 with a JSON body of the collected values. The addon daemonizes via fork+setsid to persist beyond the parent process. The destination host is unrelated to NestJS or any plausible publisher of a 'commons' utility. The package name mimics an internal-looking org scope and is published at version 999.0.6 with no repository and an UNLICENSED field, matching the dependency-confusion lure shape intended to win resolution against a private internal package of a similarly-named scope.

CWE
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.

{
  "affected": [
    {
      "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"
          },
          {
            "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": "package.json",
              "sha256": "c667734240f4a5cd8743a5a958ba9bf356027e6c870187e5b7f6eae8abcbd8dd",
              "tlsh": "10c09b78d5315c2b1a415f5dadd52c5955ef066641cdc51842315330c2aaabc41cd16b"
            }
          ],
          "package_integrity": [
            {
              "filename": "commons-999.0.7.tgz",
              "hashes": {
                "sha1": "1b449670ceb97171ec50f92588771d885aa9f990",
                "sha512_sri": "sha512-eFfOTDiNLN8HiHdrsv5AIRSejzLSSFilaVuXC+gaUpzlcVluMck/l1jy7hHStsBrY9EFYtvXvHxb5dDDh0UYfw=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "@galicia-toolkit-nestjs/commons"
      },
      "versions": [
        "999.0.7",
        "999.0.1",
        "999.0.8",
        "999.0.6",
        "3.0.1"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-021302",
        "import_time": "2026-10-09T13:46:18.294142771Z",
        "modified_time": "2026-10-09T13:38:00Z",
        "sha256": "37676e64576d3dc8fa07b541477894ba45dc0af760d06bb4630bb26f29be16f7",
        "source": "amazon-inspector",
        "versions": [
          "999.0.7"
        ]
      },
      {
        "id": "IN-MAL-2026-021329",
        "import_time": "2026-10-09T13:46:20.353498672Z",
        "modified_time": "2026-10-09T13:42:04Z",
        "sha256": "6ac8bb5bf597abb810ef4fec7dd153b4c7403dc6fcaec9e6d1bb538aa6c6f396",
        "source": "amazon-inspector",
        "versions": [
          "999.0.1"
        ]
      },
      {
        "id": "IN-MAL-2026-021290",
        "import_time": "2026-10-09T13:46:17.249958788Z",
        "modified_time": "2026-10-09T13:36:09Z",
        "sha256": "6b7cdcec1573755daec3eab422bec9fadf804064fb5c5ce97b908fed5e2ab831",
        "source": "amazon-inspector",
        "versions": [
          "999.0.8"
        ]
      },
      {
        "id": "IN-MAL-2026-021325",
        "import_time": "2026-10-09T13:46:20.048867916Z",
        "modified_time": "2026-10-09T13:41:28Z",
        "sha256": "eae27acb3901d275439e482d51a1451df67c1a6b2011f35881253a3fa8d2456b",
        "source": "amazon-inspector",
        "versions": [
          "999.0.6"
        ]
      },
      {
        "id": "IN-MAL-2026-021338",
        "import_time": "2026-10-09T17:16:16.835908736Z",
        "modified_time": "2026-10-09T17:08:31Z",
        "sha256": "e6473289d56c3d58e09f9c54a2a235341e884470a8b607c22ae8c078a744834a",
        "source": "amazon-inspector",
        "versions": [
          "3.0.1"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (eae27acb3901d275439e482d51a1451df67c1a6b2011f35881253a3fa8d2456b)\nThe package ships a tiny index.js that require()s a bundled ELF at prebuilds/linux-x64/metrics.node inside a swallow-all try/catch on module load. No C/C++ source, binding.gyp, or node-gyp/prebuild tooling is present, so the native binary cannot be rebuilt from source and its behavior is opaque to consumers. Strings extracted from the binary show it reads CI and cloud credential 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, username and cwd, then opens a raw socket to the hardcoded host oob.s4yhii.com and issues POST /native HTTP/1.0 with a JSON body of the collected values. The addon daemonizes via fork+setsid to persist beyond the parent process. The destination host is unrelated to NestJS or any plausible publisher of a \u0027commons\u0027 utility. The package name mimics an internal-looking org scope and is published at version 999.0.6 with no repository and an UNLICENSED field, matching the dependency-confusion lure shape intended to win resolution against a private internal package of a similarly-named scope.\n",
  "id": "MAL-2026-17722",
  "modified": "2026-10-09T17:18:12.909672073Z",
  "published": "2026-10-09T13:36:09Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@galicia-toolkit-nestjs/commons/v/999.0.7"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@galicia-toolkit-nestjs/commons/v/999.0.1"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@galicia-toolkit-nestjs/commons/v/999.0.8"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@galicia-toolkit-nestjs/commons/v/999.0.6"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@galicia-toolkit-nestjs/commons/v/3.0.1"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in @galicia-toolkit-nestjs/commons (npm)"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…