@wppconnect-team/wppconnect: Malicious npm package 2.4.1 compromises hosts and secrets
Severity: critical · Patch status: unpatched · Since 2026-11-21
The GitHub Advisory Database published a malware advisory for the npm package @wppconnect-team/wppconnect, affecting version 2.4.1. The advisory states that any computer with this package installed or running should be considered fully compromised, and that all secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but because full control may have been given to an outside entity, removing it may not eliminate all malicious software. No patched versions are listed, and the advisory notes that improvements are not currently accepted because the package is malware. The package has about 33K monthly downloads, 73 dependent repositories, and 3,526 GitHub stars. No exploitation details or CVE are provided.
What to do
- Treat any machine that installed or ran @wppconnect-team/wppconnect 2.4.1 as fully compromised; isolate it and rebuild from a trusted environment.
- Rotate all secrets, tokens, SSH keys, cloud credentials, and other sensitive material from a different, clean computer.
- Remove the package and audit affected hosts for persistence and additional malicious software; do not assume removal is sufficient.
- Search lockfiles, CI caches, build artifacts, and dependency trees for version 2.4.1 and block it from being installed.
- Review dependent repositories and downstream consumers for exposure, and monitor for suspicious activity tied to affected environments.
Sources
All live incidents on Threat Watch