MAL-2026-19055: Malicious code in @vanzky/baileys (npm)

Published Nov 20, 2026
·
Updated

Malicious package. @vanzky/baileys is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). it silently subscribes every victim (via the injected WhatsApp newsletter/channel FOLLOW on connect) to attacker-controlled WhatsApp channels — hardcoded newsletter JIDs: 120363412479307951@newsletter, 120363413713776550@newsletter, 120363429868081610@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.

--- -= Per source details. Do not edit below this line.=-

Source: ghsa-malware (0892744fcb2a176bd109969570984e1034e4e530c374d2586cae072d0b15011d) 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.

Affected Software

1 affected component
npm/@vanzky/baileys*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Remove

    Remove npm/@vanzky/baileys from your environment.

    Remove the @vanzky/baileys package; removing it may not remove all malware resulting from its installation.

  2. Operational

    Rotate all secrets and keys stored on the affected computer immediately, using a different computer.

Event History

Nov 20, 2026
Advisory Published
via OSV·07:25 PM
Data Sourced
via OSV·07:25 PM
DescriptionAffected Software

Frequently Asked Questions

1

Are any published versions safe to use?

No. All published versions are malicious; there is no safe version of this package to upgrade to.

2

Which systems should be treated as exposed?

Any computer with the package installed or running should be considered fully compromised. Systems that run it and connect to WhatsApp will also silently follow attacker-controlled WhatsApp channels.

3

How can I confirm that this package is implicated?

Check for the npm package name @vanzky/baileys in installed dependencies or running applications. The injected code hardcodes newsletter JIDs 120363412479307951@newsletter, 120363413713776550@newsletter, and 120363429868081610@newsletter and subscribes to them on connection.

4

What should I do if this package is found?

Remove the package and rotate all secrets and keys stored on the affected computer immediately, using a different computer. Removal alone may not eliminate other malicious software because the compromise may have given an outside party full control of the system.

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