Vulnerability · MAL-2026-17438
Malicious code in @celestial-community/baileys (npm)
Published Oct 16, 2026 · catalog updated Oct 16, 2026 · Malicious code in @celestial-community/baileys
Open the advisory
Exploitation likelihood is not on this record for MAL-2026-17438. A missing EPSS score is not a low risk. Compare Malicious code in @celestial-community/baileys with the linked advisory before you change production.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (Malicious code in @celestial-community/baileys).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- EPSS is missing. A missing score is not a low risk.
- Severity
- Unknown—
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- Awaiting synchronization with FIRST
- Remediation
- Advisory link
- Affected products
- npm @celestial-community/baileys
This package is a fork of the Baileys WhatsApp Web library (npm) and belongs to the "PhantomSub" family described by OX Security in September 2026: the publisher injected code that, without the installer asking, uses the installer's own authenticated WhatsApp session to subscribe that account to WhatsApp Channels (newsletters) the publisher chose, by sending the WhatsApp FOLLOW query (query_id 7871414976211147) for each target channel JID. The package carries three independent follow routines, all unconditional and undocumented: 1. line 632, inside the login-success ( ) handler: the channel JID is rebuilt at runtime from a char-code array ( ), and the IQ node's tag, type and xmlns ( , , ) are built the same way; the stanza carries and fires after a random delay of roughly 4 seconds to 2 minutes. 2. lines 633-652: fetches at runtime and sends a FOLLOW query for every id it lists (cited line 646: ), so the target list can change without a new npm release. On 2026-10-01 the list contained . 3. lines 156-164: a whose body is a base64 string; decoded, it fetches the same list 30 seconds after the connection opens and, for each id, sends FOLLOW and then, 3 seconds later, MUTE, so the victim is not notified of the channel's posts. Line 165 onward adds a second handler that fetches a base64-encoded URL, (HTTP 404 on 2026-10-01), and FOLLOWs each id it returns. line 7 also s a base64 string on import; decoded, it only prints a "Baileys Custom By Denzy ZeroDay" banner. Line numbers refer to version 1.0.0. Static review of the published tarball(s) found no code that sends WhatsApp credentials or session keys off-host, no install-time payload (the only install hook is Baileys' stock Node.js version check in ), and no persistence; the payload runs when an application creates a WhatsApp socket with the library. The harm is the covert use of the victim's account to inflate the publisher's channel subscribers. SHA-256 of the published npm tarball(s): 1.0.0: . --- _-= Per source det
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- npm @celestial-community/baileys1.0.0
How to fix MAL-2026-17438
Recommended remediation
A patch or advisory reference is linked. Open the original publisher for availability by product version.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
Exploitation likelihood is not on this record for MAL-2026-17438. A missing EPSS score is not a low risk. Compare Malicious code in @celestial-community/baileys with the linked advisory before you change production.
Which versions are affected?
Compare what you have installed with 1.0.0. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS is not on this record yet. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Oct 16, 2026 · GitHub Advisory Database
Detected
This package is a fork of the Baileys WhatsApp Web library (npm) and belongs to the "PhantomSub" family described by OX Security in September 2026: the publisher injected code that, without the installer asking, uses the installer's own authenticated WhatsApp session to subscribe that account to WhatsApp Channels (newsletters) the publisher chose, by sending the WhatsApp FOLLOW query (query_id 787
Oct 16, 2026 · GitHub Advisory Database
Updated
This package is a fork of the Baileys WhatsApp Web library (npm) and belongs to the "PhantomSub" family described by OX Security in September 2026: the publisher injected code that, without the installer asking, uses the installer's own authenticated WhatsApp session to subscribe that account to WhatsApp Channels (newsletters) the publisher chose, by sending the WhatsApp FOLLOW query (query_id 787
Sources
- GitHub Advisory DatabasePackage advisoryGHSA-5ghv-64gv-gv29
GitHub Advisory Database record mirrored by OSV.
github.com - OpenSSF OSV / OSV ScannerPackage advisoryMAL-2026-17438
Malicious code in @celestial-community/baileys (npm)
osv.dev
References
Freshness
Last verified in this catalog Oct 16, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.