Skip to content
Heist/ feed
Unrated

Malicious code in fabric-asset-pipeline (npm)

Type: advisorySource: OSV1 source record

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (bb92787d766d5bfa0c384cc04909689215fa0d3e869630422caa8bedd303038a) fabric-asset-pipeline@1.0.0 declares a postinstall hook that runs index.js on npm install. index.js is heavily obfuscated (obfuscator.io-style rotated string array plus base64+RC4 decoding of identifiers and URLs, with newline/regex anti-formatting hooks) and implements a Minecraft credential stealer: functions stealLauncherAccounts(), stealAltLaunchers(), and readSessionDump() read account credential stores from the official Minecraft launcher (launcher_accounts.json / launcher_profiles.json) as well as Prism/MultiMC, TLauncher, Modrinth, PolyMC, and GDLauncher, plus a session dump from the OS temp directory. Extracted account names, access tokens, and refresh tokens are POSTed via https.request to a hardcoded webhook whose URL is RC4-decoded at runtime. A companion sendInfo() call ships os.hostname(), os.userInfo().username, os.platform()/os.release(), and the recovered Minecraft username to the same endpoint. None of this behavior is part of the package's advertised 'asset loader bridge' purpose, and the obfuscation deliberately conceals both the exfiltration functions and the destination URL. ## Source: ossf-package-analysis (b8b7dfd84b1d2aedd80305d5a09d855ef0e44d02e173c3c3ebe115b03291445d) The OpenSSF Package Analysis project identified 'fabric-asset-pipeline' @ 1.0.0 (npm) as malicious. It is considered malicious beca

Announced Source revision 1
Original source ↗

MAL-2026-17224

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

fabric-asset-pipeline

Source reference: /affected/0/package/name

Affected versions
1.0.1

Source reference: /affected/0/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-asset-pipeline",
      "purl": "pkg:npm/fabric-asset-pipeline",
      "ecosystem": "npm"
    },
    "versions": [
      "1.0.1",
      "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."
        },
        {
          "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-asset-pipeline/MAL-2026-17224.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "index.js",
            "tlsh": "71b1b65695e25566023bf2b81e1b926a7276b7133249cc7c75acd2d40f2e43c17b328c",
            "sha256": "fbb0310ad9c6e1dd51a33c4cd6a308819ca079a3a3cefcee443e587104df23b2"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "9bc409dcc449c98f4a36ae1e868b006b3e357410",
              "sha512_sri": "sha512-3q/ciCtT/sfaevELPe4itz6an9zjFUCM9NGRvM4LwHwiLAxG9wiq83sYCz9XKdSIfaxmyF0veBRssrTrolfu6w=="
            },
            "filename": "fabric-asset-pipeline-1.0.1.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

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