NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

fabric-loader-corenpm

Advisory published Updated

fabric-loader-core is a confirmed malicious npm package (MAL-2026-17306) that steals credentials and exfiltrates sensitive data (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in fabric-loader-core (npm)

MAL-2026-17306
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall fabric-loader-core

What this malware does

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.

Malicious versions

1 flagged
1.0.0

Indicators of compromise (SHA-256)

a11b2ce0f9b1a7b7587acd21c631a72069bab0216c8bf010f4fb04f8b0ae543f
d5abc604e8b7408e3be8d65f587522024ce65b390cb7746706e1032b13995cb1

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for fabric-loader-core (version 1.0.0).

  2. If you installed it — respond

    fabric-loader-core is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If fabric-loader-core was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. fabric-loader-core on npm has been identified as a malicious package (version 1.0.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-020779

References

Credits

  • Amazon Inspector · finder
  • OpenSSF: Package Analysis · finder

Detect & block this

O3 blocks fabric-loader-core-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

fabric-loader-core (npm) malicious package — MAL-2026-17306 | O3 Security