OpenSSF/OSV advisory MAL-2026-5857 confirms this npm version as malicious. On install, package.json runs a postinstall hook (`node run.js`) that triggers beacon scripts (beacon20.js, beacon_linux.js) shipped in the tarball. The beacons load `child_process`, `os`, `https`, and `http`, gather host fingerprints (os.hostname(), os.platform(), process.platform, process.env) and command output via `exec(...)`, and transmit the data outbound — beacon_linux.js issues an `http.request(...)` POST...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in event-metrics-q3x7 (npm)
Details
On install, package.json runs a postinstall hook (`node run.js`) that triggers beacon scripts (beacon20.js, beacon_linux.js) shipped in the tarball. The beacons load `child_process`, `os`, `https`, and `http`, gather host fingerprints (os.hostname(), os.platform(), process.platform, process.env) and command output via `exec(...)`, and transmit the data outbound — beacon_linux.js issues an `http.request(...)` POST containing host details, while beacon20.js performs `https.request(...)` calls including requests against the Azure management API endpoint. There is no advertised purpose that justifies a host-info beacon firing automatically at install time, and the data collected (env vars, hostname, platform, command output) is classic installer-side reconnaissance and credential-surface telemetry. Installing this package executes the beacon on `npm install` and leaks installer-machine information to the embedded destinations.
## Source: ghsa-malware (6d9199a70db65b8ecddceb353a3b964fe4973de7887587d42e2b32d4fb267c1e) 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 event-metrics-q3x7@1.0.3 as malicious (MAL-2026-5857): Malicious code in event-metrics-q3x7 (npm)