CRITICAL npm Malware

Malicious code in @angkasabaileys/baileys (npm)

MAL-2026-20678

Published · Modified

Dependency scanning

Check whether @angkasabaileys/baileys is in your codebase

Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.

Description

Malicious package. @angkasabaileys/baileys is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). makeNewsletterSocket in lib/Socket/newsletter.js registers a connection.update handler that, every time the socket connection opens, issues a newsletter FOLLOW for the hardcoded channel 120363431179022660@newsletter from the victim's account, silently swallowing any error. There is no option to disable it, and the README states the opposite ("No auto-follow channel (newsletter) behavior"). Legitimate Baileys never hardcodes a channel or auto-follows one. Version 1.0.1 (published 2026-11-17) carries this code.

Ready to move

Start Securing

Free, no credit card | First findings in minutes