Skip to main content
MalwarePublished Updated

@fadelsm/baileys (npm) · Malicious Code

Affects @fadelsm/baileysSource GCVE Database

0

Malicious package : remove @fadelsm/baileys and rotate any secrets on hosts that installed it.

Data as of 11 Nov 2026, 03:35 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-18830

What to do

Remove @fadelsm/baileys from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npm@fadelsm/baileysAffected
  • 7.0.1 – 7.0.9
9 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

@fadelsm/baileys is a fork of the Baileys WhatsApp Web library that silently subscribes the installer's own WhatsApp account to WhatsApp Channels chosen by the publisher. When the socket connects, code in lib/Socket/newsletter.js sends the WhatsApp w:mex FOLLOW query for the channel ID(s) 120363400362472743@newsletter, 120363406524087186@newsletter, 120363407144637058@newsletter, 120363408367338249@newsletter, 120363409508273158@newsletter, 12036340982021544@newsletter and 4 more (stored as character-code arrays), using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342). --- _-= Per source details. Do not edit below this line.=-_ ## Source: ghsa-malware (f80e051ed0ff14355e74f63440e3a822906ea192ae9a33d99c0db99517cc7278) 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.

References

Community reviews

Loading reviews…