GitHub’s Advisory Database flagged version 2.4.1 of @wppconnect-team/wppconnect, an npm library for automating WhatsApp Web. The November 21 advisory identifies that specific release as malware and lists no patched version. It advises treating any machine where the package was installed or running as compromised. GitHub malware advisory
The malicious library appeared on npm on November 15 UTC. In its November 16 report, StepSecurity found that affected builds collected environment variables, application configuration and WhatsApp session tokens. The researchers also identified the companion package @wppconnect/server version 2.10.82 and documented affected Docker images and a nightly release. Teams that use those builds should check their deployments against the research. StepSecurity incident analysis
What affected teams should do
Check lockfiles and deployed copies for the affected version, including applications that may have pulled it in through another dependency. If the package was installed, isolate the host. From a separate, trusted system, rotate exposed keys and secrets and revoke affected WhatsApp sessions. Removal is part of recovery. GitHub warns that other malicious software may remain after uninstalling the package, so investigate or rebuild the affected environment before returning it to service. GitHub recovery guidance