WPPConnect Compromised: Malicious Releases Steal Secrets and WhatsApp Sessions Through the Project's Own Pipeline
Malicious WPPConnect npm releases 2.4.1 and 2.10.82 steal secrets and WhatsApp sessions.
Two malicious npm releases of the WPPConnect WhatsApp libraries, versions 2.4.1 and 2.10.82, were found to contain a module that uploads environment variables, .env files, and WhatsApp session tokens to a Telegram bot. These compromised versions were distributed through the project's own trusted publishing workflow, and affected Docker images and nightly builds as well. The malicious code executes upon import, not installation, and the release tags were later rewritten to obscure the malicious commits.
AI summary of the linked source. Not reviewed by an editor. How this works
Run WPPConnect?
Get an email when a new story names WPPConnect, usually within the hour.
Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy
The lesson from this incident
Full lessonAttackers compromised the WPPConnect project's own publishing pipeline to inject malicious code into two npm releases, meaning downstream users received trojanized packages through a channel they had every reason to trust. The malicious module exfiltrated environment variables, .env files, and WhatsApp session tokens to a Telegram bot the moment the library was imported, giving attackers immediate access to sensitive credentials. Release tags were later rewritten to hide the malicious commits, actively obstructing forensic investigation. This incident illustrates how a compromised CI/CD or publishing credential can turn a project's own trusted infrastructure into an attack vector against every consumer of that package. Organizations relying on open-source libraries without integrity verification or dependency pinning are especially exposed to this class of supply chain attack.
What helps against this
How we list vendors- Secrets management
API keys, tokens and passwords stop leaking from code, chat and configuration files.
- Endpoint detection and response (EDR and XDR)
Malware and hands-on-keyboard attackers on laptops and servers get spotted and stopped.
- Software supply chain security
Malicious and vulnerable open-source packages are caught before they ship.
Indicators of Compromise
Addresses and file hashes are copied from the publisher's page by pattern matching. Names are picked by AI. On stories from before 17 November 2026, some addresses and hashes were picked by AI too. Not reviewed by an editor. How this works
- hash_sha1: 950514e4fea481c0770bd618274cecb306bd8d56
- hash_sha1: 755274304012c7489e85c23da3c2423d184d113b