Supply-chain threat intelligence

Incident detail

criticalnpm·credential theft·osv

Malicious code in event-metrics-q3x7 (npm)

event-metrics-q3x7

Risk score

92

AI summary

Indexed incident for event-metrics-q3x7 (npm).

Description

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.

Technical details

Affected versions

=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

Indicators

  • affected version=1.0.275%
  • affected version=1.0.175%
  • affected version=1.0.775%
  • affected version=1.0.875%
  • affected version=1.0.375%
  • affected version=1.0.575%
  • affected version=1.0.475%
  • affected version=1.0.075%
  • affected version=1.0.675%

Timeline

  1. Advisory published
  2. Indexed by ThreatPkg

Related incidents