MAL-2026-6092
Dashboard / Malicious Package / MAL-2026-6092
MAL-2026-6092
Summary: Malicious code in fmt-helpers-794b (npm)
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.
References: https://www.npmjs.com/package/fmt-helpers-794b/v/1.0.0, https://github.com/advisories/GHSA-4wmf-8x9r-34cc
Affected packages
Package
Name: fmt-helpers-794b
Purl: pkg:npm/fmt-helpers-794b
Affected ranges
Type: SEMVER
Events:
