Skip to content
Heist/ feed
Unrated

Malicious code in fabric-loader-core (npm)

Type: advisorySource: OSV1 source record

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (a11b2ce0f9b1a7b7587acd21c631a72069bab0216c8bf010f4fb04f8b0ae543f) The package's postinstall hook runs index.js, which performs an HTTPS GET to the hardcoded host https://fabric-npm.gm-service.xyz/p and passes the response body directly to vm.runInContext with a context exposing require, process, Buffer, timers, and console. Whatever bytes that server returns execute at npm install time with full Node privileges on the installer's machine. The advertised purpose ("Native asset loader bridge for Fabric mod environments") does not match the code: lib/renderer.js is an inert stub with no-op exports, and index.js contains only the remote fetch-and-eval loader. The package name evokes the unrelated Fabric Minecraft mod ecosystem, which is a cover story. The remote host controls the payload and can change it at any time, so installer impact is unbounded and can include credential theft, persistence, or lateral movement. ## Source: ossf-package-analysis (d5abc604e8b7408e3be8d65f587522024ce65b390cb7746706e1032b13995cb1) The OpenSSF Package Analysis project identified 'fabric-loader-core' @ 1.0.0 (npm) as malicious. It is considered malicious because: - The package communicates with a domain associated with malicious activity.

Announced Source revision 1
Original source ↗

MAL-2026-17306

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:MAL-2026-17306

fabric-loader-core

Source reference: /affected/0/package/name

Affected versions
1.0.0

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "package": {
      "name": "fabric-loader-core",
      "purl": "pkg:npm/fabric-loader-core",
      "ecosystem": "npm"
    },
    "versions": [
      "1.0.0"
    ],
    "database_specific": {
      "cwes": [
        {
          "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/fabric-loader-core/MAL-2026-17306.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "index.js",
            "tlsh": "2ef0dd36bbed6125272054eca4838806c86be2232212f690f69c42586fca53cf1d6798",
            "sha256": "615f67404e631a9c5c2f81442b2b99e615e19d3e7803e4436dfcd3e49f46fbc7"
          },
          {
            "path": "package.json",
            "tlsh": "25e0cd206a20d62320d4d7705e36495536204f1b4044bc6d61a7115cd3ce77545fb35b",
            "sha256": "64b4532f14010e3f8afbb92102d3c3fcf1d1756618d958d9052938c60337febb"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "3f5accb342b941a348c57b9b9912b5c94cc3fb05",
              "sha512_sri": "sha512-IE/e13oz87A/GBxkHw/24iCRWeW4fnXQ41P8x1S462slG8//wZ5PRDpwpGit+RnkY6pPVNf6fkn/jQ2SUmafMw=="
            },
            "filename": "fabric-loader-core-1.0.0.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#59306 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement