CRITICAL npm Malware

Malicious code in @chatbridgeworld/baileys (npm)

MAL-2026-18787 · GHSA-fjhf-q8f8-r96j

Published · Modified

Dependency scanning

Check whether @chatbridgeworld/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. @chatbridgeworld/baileys is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). on connection it issues an authenticated w:mex newsletter FOLLOW mutation (query_id 7871414976211147) that silently subscribes every victim to attacker-controlled WhatsApp channels — hardcoded newsletter JIDs: 120363297591152843@newsletter, 120363351424590490@newsletter, 120363410165027550@newsletter, 120363412935005237@newsletter, 120363413699154858@newsletter, 120363413933221020@newsletter, 120363426302817140@newsletter, 120363428923746817@newsletter, 120363430013410680@newsletter, 120363433092350168@newsletter. Legitimate Baileys never hardcodes a channel JID or auto-follows on connect; all published versions are malicious. Detected by wormsign static analysis of the injected channel-subscription code.


__

Source: ghsa-malware (b7a5a2853e26ae8d922803db487eb05b9a6f8ae50d426750c0a5cd1d5ca208ab)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Ready to move

Start Securing

Free, no credit card | First findings in minutes