Malicious npm packages: npmresearch2026-scope-test, scope-test-af5c5e, metrics-probe-9b4c — full system compromise on install
Severity: critical · Patch status: no-fix-needed · Since 2026-11-19
GitHub's Advisory Database published four malware advisories on 2026-11-19 for npm packages npmresearch2026-scope-test, scope-test-af5c5e, metrics-probe-9b4c and npmresearch2026-scope-test-b. All versions (= 0) are flagged as embedded malicious code (CWE-506) with no patched versions; GitHub states any machine with the packages installed or running should be considered fully compromised, with secrets and keys exposed to an outside entity. The similarly named packages suggest a coordinated campaign of typosquat/scope-test malware uploads. One package (npmresearch2026-scope-test-b) shows ~39 downloads/month, indicating limited but real reach. Removal of the package does not guarantee removal of the malicious software. No fix exists; remediation is host-level incident response.
What to do
- Remove the packages from all systems and treat affected machines as fully compromised
- Rotate all secrets, keys, tokens and credentials stored on or accessible from affected machines, from a clean computer
- Rebuild/reimage affected hosts and audit for persistence mechanisms
- Audit dependency lockfiles and CI pipelines for these package names and block them
- Check npm install logs for historical installs of these packages
Sources
All live incidents on Threat Watch