VYPR

npm · Malicious package advisory

Malware

event-metrics-q3x7

MAL-2026-5857

Malicious code in event-metrics-q3x7 (npm)

Details


---
_-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (9b805c0ac88b45f49b1698fb9ea33e00767380544221d574a0da0e0f526d07f8)
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.

Compromised versions (9)

  • 1.0.2
  • 1.0.1
  • 1.0.7
  • 1.0.8
  • 1.0.3
  • 1.0.5
  • 1.0.4
  • 1.0.0
  • 1.0.6

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.