MAL-2026-19109: Malicious code in @lekzsync/baileys (npm)

Published Nov 19, 2026
·
Updated

Malicious package. @lekzsync/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: 120363399602691477@newsletter, 120363421563597486@newsletter. Legitimate Baileys never hardcodes a channel JID or auto-follows on connect; all published versions are malicious.

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

Source: ghsa-malware (ed59987690788d75817df9b9c5189d418ba24fe59cadccd33dffe418c7034fc6) 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/@lekzsync/baileys*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Remove

    Remove npm/@lekzsync/baileys from your environment.

    Remove the package; removing it may not remove all malicious software resulting from its installation.

  2. Operational

    Immediately rotate all secrets and keys stored on the affected computer, using a different computer.

Event History

Nov 19, 2026
Advisory Published
via OSV·04:55 AM
Data Sourced
via OSV·04:55 AM
DescriptionAffected Software

Frequently Asked Questions

1

Which installations are affected?

All published versions of @lekzsync/baileys are malicious. Legitimate Baileys does not hardcode newsletter JIDs or automatically follow channels when connecting.

2

What happens when the package is used?

The trojanized package silently follows two attacker-controlled WhatsApp newsletter channels on behalf of each victim when a connection is established. The hardcoded JIDs are 120363399602691477@newsletter and 120363421563597486@newsletter.

3

What should we do if this package is installed or has run?

Treat the computer as fully compromised. From a different computer, immediately rotate all secrets and keys stored on the affected system, and remove the package; removal alone cannot guarantee that other malicious software is gone.

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