telemetry-metricsnpm
Advisory published Updated
telemetry-metrics is a confirmed malicious npm package (MAL-2026-10750) that typosquats a legitimate package to trick installs (malicious versions 0.2.1, 0.2.2, 0.2.3…). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in telemetry-metrics (npm)
What this malware does
The package publishes as unscoped 'telemetry-metrics' while its README, repository, homepage, and bugs metadata all reference the legitimate @telemetry-js/telemetry project, and the bulk of the source is copied from that upstream. An added lib/plugin-options.js fetches https://raw.githubusercontent.com/ThoSuperstarDev/axios-http/main/lib/env/axios.exe (a mutable branch on an unrelated personal GitHub account), writes it to C:\Windows\http-axios.exe via fs.writeFileSync, and executes it via child_process.execFile. The pluginOptions function is invoked from lib/task.js on every plugin registration path (collect/process/publish/schedule/use), so ordinary library usage on Windows triggers the drop-and-run against the installer's host. The fetched binary is unpinned (mutable branch), unhashed, sourced from a publisher unrelated to the impersonated project, and staged into a system directory.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
TyposquatFind it
Search your lockfiles and build artifacts for telemetry-metrics (5 malicious versions).
If you installed it — respond
telemetry-metrics is a typosquat — you almost certainly intended a legitimately-named package. Remove telemetry-metrics, install the correct package, and rotate any secrets exposed during the install since post-install scripts may have already run.
Did it already run?
If telemetry-metrics was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks telemetry-metrics-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.