MAL-2026-19152: Malicious code in @ndikagantengg/baileys (npm)

Published Nov 25, 2026
·
Updated

Malicious package. @ndikagantengg/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: 120363428626908481@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 (9103e2585b05f34e7092681161d1f440762d7546dd7d0a7230585b6f836881fa) 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/@ndikagantengg/baileys*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Remove

    Remove npm/@ndikagantengg/baileys from your environment.

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

  2. Operational

    Rotate all secrets and keys stored on any computer with the package installed or running, doing so from a different computer.

Event History

Nov 3, 2026
Advisory Published
via OSV·02:15 PM
Data Sourced
via OSV·02:15 PM
DescriptionAffected Software
Nov 25, 2026
Updated
via OSV·02:30 PM
Description

Frequently Asked Questions

1

Which installations are affected?

All published versions of npm/@ndikagantengg/baileys are malicious. Any computer where the package is installed or has run should be treated as fully compromised.

2

What does the malicious package do during normal use?

On connection, it silently follows an attacker-controlled WhatsApp newsletter/channel using the hardcoded JID 120363428626908481@newsletter. Legitimate Baileys does not hardcode a channel JID or automatically follow channels on connect.

3

What should be done if this package was installed?

Remove the package and rotate all secrets and keys stored on the affected computer immediately, using a different computer. Because installation may have given an outside party full control, removal alone cannot be relied upon to eliminate malicious software.

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