MAL-2026-17307 Malicious code in fabric-mod-utils (npm)
Malicious package
Published
MAL-2026-17307 is a malicious package: fabric-mod-utils (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-17307/ (Markdown: https://insights.sbomify.com/MAL-2026-17307/index.md)
- Package
- fabric-mod-utils
- Registry
- npm
What is MAL-2026-17307?
MAL-2026-17307 is a malicious package in fabric-mod-utils, published on 30 Sep 2026.
Official description
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.
What should I do about MAL-2026-17307?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.