# GHSA-2Q4F-GP8G-PX4J: Malicious code in @langitdeveloper/baileys (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-10
- Modified: 2026-11-10

## Affected versions

- @langitdeveloper/baileys (npm): 2.0.3
- @langitdeveloper/baileys (npm): 2.0.4
- @langitdeveloper/baileys (npm): 2.0.5
- @langitdeveloper/baileys (npm): 2.0.6
- @langitdeveloper/baileys (npm): 2.0.7
- @langitdeveloper/baileys (npm): 2.0.8
- @langitdeveloper/baileys (npm): 2.0.9
- @langitdeveloper/baileys (npm): 2.1.0
- @langitdeveloper/baileys (npm): 2.1.1
- @langitdeveloper/baileys (npm): 2.1.2
- @langitdeveloper/baileys (npm): 2.1.3
- @langitdeveloper/baileys (npm): 2.1.4
- @langitdeveloper/baileys (npm): 2.1.5
- @langitdeveloper/baileys (npm): 2.1.6
- @langitdeveloper/baileys (npm): 2.1.7
- @langitdeveloper/baileys (npm): 2.1.9
- @langitdeveloper/baileys (npm): 2.2.0
- @langitdeveloper/baileys (npm): 2.2.1
- @langitdeveloper/baileys (npm): 2.2.2
- @langitdeveloper/baileys (npm): 2.2.3
- @langitdeveloper/baileys (npm): 2.2.4
- @langitdeveloper/baileys (npm): 2.2.5
- @langitdeveloper/baileys (npm): 2.2.6

## Description

@langitdeveloper/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) 120363418090359162@newsletter, 120363426930096454@newsletter and a list downloaded at runtime from https://raw.githubusercontent.com/FadelSM/IDCH/refs/heads/main/idch.json, using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/f8bd377e5c522af8e1a7cf92b0cd17dcdba7a45f/osv/malicious/npm/@langitdeveloper/baileys/MAL-2026-18861.json))

## References

- https://github.com/ossf/malicious-packages/blob/f8bd377e5c522af8e1a7cf92b0cd17dcdba7a45f/osv/malicious/npm/@langitdeveloper/baileys/MAL-2026-18861.json
- https://www.npmjs.com/package/@langitdeveloper/baileys
- https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels
- https://github.com/advisories/GHSA-2q4f-gp8g-px4j

Page: https://cve.now/GHSA-2Q4F-GP8G-PX4J

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
