Cyber Risks · The Hacker News

Fake WhatsApp API Package on npm Steals Messages, Contacts, and Login Tokens

Summary: A malicious npm package named "lotusbail," uploaded by user "seiren_primrose" in May 2025, has been downloaded over 56,000 times while posing as a working WhatsApp API. It routes authentication tokens, session keys, messages, contacts, and media through a malicious WebSocket wrapper to an attacker-controlled URL, and uses a hard-coded pairing code to link the attacker's device to the victim's WhatsApp account persistently.

Key Takeaway: The attacker's device stays linked to the victim's WhatsApp even after the package is uninstalled, until someone manually unlinks it in the app's settings - and static analysis and download-count reputation both cleared a package that 56,000 developers pulled.

Read the original at The Hacker News ↗

Topics
Threat Actors & Nation-State
Related