CRITICAL npm Malware

Malicious code in dinocode-baileys (npm)

MAL-2026-20429

Published · Modified

Dependency scanning

Check whether dinocode-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. dinocode-baileys is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). In lib/Socket/messages-recv.js it hides two channel JIDs as character-code arrays (120363428355171197@newsletter, 120363428984357510@newsletter). When the connection opens, it waits 30 seconds, then sends a newsletter FOLLOW followed by a MUTE for each one, silently subscribing the victim account to attacker-controlled WhatsApp channels and hiding their notifications. Legitimate Baileys never hardcodes channel JIDs. Version 0.0.0-stage is a placeholder stub without this code.

Ready to move

Start Securing

Free, no credit card | First findings in minutes