MAL-2026-6092 Malicious code in fmt-helpers-794b (npm)
- Package
- fmt-helpers-794b
- Registry
- npm
What is MAL-2026-6092?
MAL-2026-6092 is a malicious package in fmt-helpers-794b, published on 18 Jun 2026.
Official description
Package declares a postinstall lifecycle hook ("postinstall": "node run.js" in package.json) that runs run.js automatically on npm install. run.js imports os, fs, http, https, and child_process and reads host identification fields (os.hostname(), os.platform()), performs filesystem reads (fs.readFileSync, fs.existsSync), and issues multiple outbound POST calls (run.js lines 131, 134, 345, 352). The combination of automatic install-time execution, host/filesystem reconnaissance, and outbound HTTP POSTs is the canonical install-time exfiltration shape with no legitimate library purpose presented in the package. Installing this package causes immediate execution of code that collects installer host data and ships it off-host.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
What should I do about MAL-2026-6092?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.
Sources
Also known as GHSA-4wmf-8x9r-34cc.