MAL-2026-18392: Malicious code in @chatunitycenter/baileys (npm)

Published Oct 29, 2026
·
Updated

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

Source: amazon-inspector (23bc43e71e1158fc102445f53b3880fe32a99bb6a8557b99d1b17279e8f41f44) package.json declares libsignal as github:chatunitycenter/libsignal-node with no commit SHA, tag, or integrity hash. On npm install, npm clones the default-branch HEAD of that repository and installs whatever it returns, including executing any lifecycle scripts (preinstall/install/postinstall/prepare) present in the cloned source. The resolved bytes are mutable: whoever controls the chatunitycenter/libsignal-node repository can push new commits at any time and those commits will run on every installer that resolves this dependency going forward. The dependency key resembles the well-known libsignal-node project but points to an account-controlled fork rather than a registry version range or a pinned commit, so the installer cannot audit or reproduce what will be fetched.

Source: ghsa-malware (52978b0c3293c9df936b51c70527efeb5b0f496a59f0df857016fc781f876043) 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/@chatunitycenter/baileys*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Remove

    Remove npm/@chatunitycenter/baileys from your environment.

    Remove the @chatunitycenter/baileys package; removing it may not remove all malicious software installed during its installation.

  2. Operational

    Immediately rotate all secrets and keys stored on any affected computer, performing the rotation from a different computer.

Event History

Oct 29, 2026
Advisory Published
via OSV·04:52 PM
Data Sourced
via OSV·04:52 PM
DescriptionAffected 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