# MAL-2026-17306: Malicious code in fabric-loader-core (npm)


- **Type:** Malicious package
- **Package:** `fabric-loader-core` (npm)
- **Published:** 29 Sep 2026

## What is MAL-2026-17306?

MAL-2026-17306 is a malicious package in fabric-loader-core, published on 29 Sep 2026. 

### Official description

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.

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.

## What should I do about MAL-2026-17306?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-17306 is a malicious package: fabric-loader-core (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-17306/ (Markdown: https://insights.sbomify.com/MAL-2026-17306/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-17306

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-17306/
Summaries are generated and may contain mistakes; the official description above is the record.
