Malicious npm package microsoft-applicationinsights-common — full host compromise; no patched versions exist
Severity: critical · Patch status: no-fix-needed · Since 2026-12-01
GitHub published a malware advisory (GHSA-3597-r7mj-54v6) on 2026-12-01 for the npm package microsoft-applicationinsights-common, flagging it as embedded malicious code (CWE-506). All versions (= 0) are affected and no patched versions exist. GitHub's guidance states any computer with the package installed or running should be considered fully compromised, with full control potentially handed to an outside entity. The package name mimics Microsoft's legitimate Application Insights SDK, suggesting a typosquat or impersonation; the advisory lists no known source code. Exposure is limited by low download volume (~556/month), but any installation implies credential and secret theft risk. Removal alone may not eliminate the malware, so host-level remediation is required.
What to do
- Rotate all secrets, keys, and credentials stored on any machine where the package was installed, using a clean machine
- Rebuild/reimage affected machines; do not rely on uninstalling the package
- Audit dependency trees and lockfiles for the package and remove it from all projects
- Review access logs and monitor for suspicious activity from affected hosts
- Block the package in npm/CI policy and prefer the official Microsoft Application Insights SDK
Sources
All live incidents on Threat Watch