Malicious npm Package 'lotusbail' Steals WhatsApp Data and Credentials
These articles are AI-generated summaries. Please check the original sources for full details.
Fake WhatsApp API Package on npm Steals Messages, Contacts, and Login Tokens
A malicious npm package disguised as a WhatsApp API, named “lotusbail,” has been discovered stealing user data and granting attackers persistent access to WhatsApp accounts. The package has been downloaded over 56,000 times since its initial upload in May 2025, demonstrating the scale of potential compromise.
Why This Matters
Current software supply chain security practices often fail to detect malicious code hidden within seemingly functional packages. Static analysis may approve code that works without identifying its hidden, nefarious intent. This incident highlights the risk of relying solely on reputation systems and the need for dynamic analysis to uncover malicious behavior, as 56,000 downloads didn’t flag the package as malicious. The cost of a compromised WhatsApp account can include data breaches, financial loss, and reputational damage.
Key Insights
- 56,000+ downloads: “lotusbail” package downloads as of December 22, 2025.
- WebSocket Wrapper: The malware uses a malicious WebSocket wrapper to intercept authentication information and messages.
- Persistent Backdoor: The package creates a persistent backdoor by linking the attacker’s device to the victim’s WhatsApp account during authentication.
Practical Applications
- Use Case: Developers seeking a simple WhatsApp API integration unknowingly introduce a backdoor into their applications.
- Pitfall: Assuming package functionality guarantees safety; failing to analyze package behavior beyond basic functionality testing.
References:
Continue reading
Next article
Find List of Matched Rules in Drools
Related Content
Rogue NuGet Package Mimics Tracer.Fody, Steals Crypto Wallet Data
A malicious NuGet package disguised as Tracer.Fody remained undetected for six years, stealing Stratis wallet files and passwords from over 2,000 downloads.
New Shai-Hulud Strain and Fake Jackson Package Target Developers
Researchers discovered a modified Shai-Hulud npm worm and a malicious Jackson Maven package, highlighting ongoing supply chain attacks targeting developer credentials.
27 Malicious npm Packages Used as Phishing Infrastructure to Steal Login Credentials
Researchers identified 27 malicious npm packages used over five months to host phishing pages, resulting in credential theft from targeted organizations.