Skip to content
Heist/ feed
Unrated

Malicious code in fabric-mod-utils (npm)

Type: advisorySource: OSV1 source record

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (b3ada8fa4c11f57f6f8bfcf158b33b56d71f6f1433910b981cec70492b2272a9) The package declares scripts.postinstall = 'node index.js'. On install, index.js performs an HTTPS GET to the hardcoded host fabric-npm.gm-service.xyz at path /p and passes the response body to vm.runInContext, executing whatever code the server returns on the installer's machine. The host and path are stored in short obfuscated variables (_h, _p). The package's stated purpose ('Native asset loader bridge for Fabric mod environments') is contradicted by its shipped contents: lib/renderer.js is an inert stub returning no-op { status: "ok" } shader results and has no relationship to the actual install-time behavior. The mod-utility framing functions as cover for an install-time remote-code loader whose payload is attacker-mutable and unpinned.

Announced Group revision 1
Original source ↗

MAL-2026-17307

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-17307

fabric-mod-utils

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-mod-utils",
      "purl": "pkg:npm/fabric-mod-utils",
      "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-mod-utils/MAL-2026-17307.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "index.js",
            "tlsh": "2ef0dd36bbed6125272054eca4838806c86be2232212f690f69c42586fca53cf1d6798",
            "sha256": "615f67404e631a9c5c2f81442b2b99e615e19d3e7803e4436dfcd3e49f46fbc7"
          },
          {
            "path": "package.json",
            "tlsh": "bde0c2206a21da2320d8aab46e3a569536204f2b4044fcac22a7115cd2cebb655fb31b",
            "sha256": "1d8f63500bc105cf989bf26d6993f45718b0e1ebb9a57e013e7b0b4670119414"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "4112b38907ddf649328e4620f93f9434c1f4af76",
              "sha512_sri": "sha512-5ICIheYaEQGlvKlCbedZtSeCxT/UQPkdOcbM1/n/nwqv+A5Yd1SYiIm3IOlkTsVIUHmtJ3d1sFQBUgG2Uh0Dkw=="
            },
            "filename": "fabric-mod-utils-1.0.0.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

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