Cybersecurity researchers at OX Security have identified 101 malicious npm packages that exploit the Baileys library to force developers into unauthorized WhatsApp group subscriptions and advertising campaigns.
Key Points
- Researchers discovered 101 malicious npm packages that have been downloaded approximately 490,000 times, with 116,000 downloads occurring in the last month.
- The malware abuses the open-source Baileys WhatsApp project to stealthily add victim accounts to attacker-controlled groups and channels without consent.
- Three distinct variants of the malware were identified, utilizing different methods such as fetching channel IDs from GitHub or using obfuscated code to hide subscription routines.
- The campaign primarily targets Indonesian markets, promoting services for mobile games like Mobile Legends: Bang Bang, TikTok, and various bot-building scripts.
- Developers are urged to audit their dependencies, block identified malicious packages, and avoid connecting personal WhatsApp accounts to unverified third-party libraries.