MAL-2026-18600: Malicious code in @ubedsockets/baileys (npm)

Published Nov 2, 2026
·
Updated

Malicious package. @ubedsockets/baileys is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). On connection it issues an authenticated w:mex newsletter FOLLOW mutation (queryid 7871414976211147) that silently subscribes every victim to attacker-controlled WhatsApp channels — hardcoded newsletter JIDs: 120363410154606795@newsletter, 120363423295236859@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.

Affected Software

1 affected component
npm/@ubedsockets/baileys*

Event History

Nov 2, 2026
Advisory Published
via OSV·03:50 PM
Data Sourced
via OSV·03:50 PM
DescriptionAffected Software

Frequently Asked Questions

1

Who is affected by this package?

Any application that installs and connects using any published version of npm/@ubedsockets/baileys is affected. The malicious behavior runs on connection and subscribes the connected WhatsApp account to attacker-controlled newsletters.

2

Does this require a non-default option or explicit application action?

No special configuration or application action is described. The package performs the authenticated newsletter FOLLOW mutation when it connects.

3

How can I determine whether this package is present in my environment?

Check dependencies and lockfiles for npm/@ubedsockets/baileys. Static analysis can also identify the injected subscription code, including a w:mex FOLLOW mutation using query_id 7871414976211147 and the hardcoded newsletter JIDs 120363410154606795@newsletter and 120363423295236859@newsletter.

4

Is there a safe published version of this package to upgrade to?

No. All published versions of npm/@ubedsockets/baileys are described as malicious.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203