npm malware: cantarel and konsistent-provider packages fully compromise installed hosts
Severity: critical · Patch status: no-fix-needed · Since 2026-11-16
GitHub published malware advisories on 2026-11-16 for two npm packages, cantarel (GHSA-8f4v-5fv4-7mfg, ~966 downloads/month) and konsistent-provider (GHSA-q4rg-r9c6-4483, ~38 downloads/month). Both are flagged CWE-506 embedded malicious code, affect all versions (= 0), and have no patched versions. GitHub's standard malware guidance states any computer with the packages installed or running should be considered fully compromised, with attacker access to secrets and keys; removal of the package does not guarantee removal of all malicious software. Any developer or CI environment that installed either package is affected. No fix exists; remediation is removal plus host rebuild and credential rotation.
What to do
- Remove cantarel and konsistent-provider from all projects, lockfiles and CI caches immediately
- Rotate all secrets, keys, tokens and credentials stored on any machine that installed or ran the packages, using a clean machine
- Rebuild or wipe affected hosts and CI runners; do not assume package removal removed the malware
- Audit dependency trees and lockfiles for the packages and block them in registry/proxy allowlists
- Review logs and network egress for signs of exfiltration or persistence
Sources
All live incidents on Threat Watch