Skip to content
OpenAdvisories
Malicious MAL-2026-6092 GHSA-4wmf-8x9r-34cc

fmt-helpers-794b

npm package · versions 1.0.0

Reported Jun 18, 2026 · Updated Jun 18, 2026

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

Source: amazon-inspector (19b05306978ff506805f118049f81c74c5da1503bb34fd14a2a57d4e6faac52c)
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.

Source: ghsa-malware (3aca1041e88b5f01d4d06b372aebdd36015952d30d7ea18f9dc9c7a7f33df351)
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.