OpenSSF/OSV advisory MAL-2026-6094 confirms this npm version as malicious. Package declares a postinstall lifecycle hook (`"postinstall": "node run.js"` in package.json) that executes run.js automatically on `npm install`. run.js imports child_process, os, https, and http; reads host identifiers via os.hostname() and os.platform() (run.js:194-195); and issues outbound POST requests (run.js:62, 63, 265) along with a GET (run.js:48)...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in metrics-probe-f256 (npm)
Details
Package declares a postinstall lifecycle hook (`"postinstall": "node run.js"` in package.json) that executes run.js automatically on `npm install`. run.js imports child_process, os, https, and http; reads host identifiers via os.hostname() and os.platform() (run.js:194-195); and issues outbound POST requests (run.js:62, 63, 265) along with a GET (run.js:48). The shape — automatic install-time execution combined with host enumeration and outbound HTTP exfiltration primitives — matches the install-time host-reconnaissance / beacon pattern. The package name (metrics-probe-f256, with a random hex suffix) has no documented purpose consistent with running child processes and shipping host data outbound at install time.
## Source: ghsa-malware (79ab0bc35fa37afe4238ba6724b1c55b0daa1139fb6c04becc1d2ff3014c12a4) 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.
Decision reason
OpenSSF Malicious Packages via OSV confirms metrics-probe-f256@1.0.0 as malicious (MAL-2026-6094): Malicious code in metrics-probe-f256 (npm)