MAL-2026-17232 Malicious code in fabric-native-loader (npm)
Malicious package
Published
MAL-2026-17232 is a malicious package: fabric-native-loader (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-17232/ (Markdown: https://insights.sbomify.com/MAL-2026-17232/index.md)
- Package
- fabric-native-loader
- Registry
- npm
What is MAL-2026-17232?
MAL-2026-17232 is a malicious package in fabric-native-loader, published on 28 Sep 2026.
Official description
package.json declares a postinstall hook that runs index.js on npm install. index.js reads Minecraft launcher credential stores (launcher_accounts.json, launcher_profiles.json, and equivalent files for Prism, MultiMC, TLauncher, Modrinth, PolyMC, GDLauncher), extracting Mojang/Microsoft accessTokens, refreshTokens, and clientTokens. It also recursively walks the.minecraft directory reading.json/.txt/.cfg/.properties/.yml/.log files and matches their contents against JWT and Bearer-token regexes. The collected credentials are combined with os.hostname(), os.userInfo().username, and os.platform() and POSTed via HTTPS to a hardcoded Discord webhook (discord.com/api/webhooks/1554065488726990909/…). No functionality matching the package name is present; the sole effect of installing the package is credential theft against the installer.
What should I do about MAL-2026-17232?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.