# GHSA-H76R-HHQX-CJQ3: Malicious code in fabric-native-loader (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-09-29
- Modified: 2026-09-29

## Affected versions

- fabric-native-loader (npm): 1.0.0

## Description

## Source: amazon-inspector (d289ae71736f05158f45d6636730641e82b5a774bf99bf1b587155d31c73daaa)
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.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/501714751ba269514a0a7215c211de39b4230b65/osv/malicious/npm/fabric-native-loader/MAL-2026-17232.json))

## References

- https://github.com/ossf/malicious-packages/blob/501714751ba269514a0a7215c211de39b4230b65/osv/malicious/npm/fabric-native-loader/MAL-2026-17232.json
- https://www.npmjs.com/package/fabric-native-loader/v/1.0.0
- https://github.com/advisories/GHSA-h76r-hhqx-cjq3

Page: https://cve.now/GHSA-H76R-HHQX-CJQ3

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
