MAL-2026-18861

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@langitdeveloper/baileys/MAL-2026-18861.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18861
Published
2026-10-27T00:00:00Z
Modified
2026-11-09T23:15:22Z
Summary
Malicious code in @langitdeveloper/baileys (npm)
Details

@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).

Database specific
{
    "iocs": {
        "domains": [
            "raw.githubusercontent.com"
        ],
        "files": [
            {
                "digests": {
                    "sha256": "1ed757ff89cf4799b0c70f72a1a0814db30b5bc70a2654ac9ef5e520067ce65f"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            },
            {
                "digests": {
                    "sha256": "3ab9c9c1ceebee65fb3f6642e47372ae2480ac9c945858d748d42c85dd447e47"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            },
            {
                "digests": {
                    "sha256": "f91b595ff2f405e25138ee1b2d911ffdaa0ea4510466ca42aea896c3fe61f88d"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            }
        ],
        "ips": [],
        "urls": [
            "https://raw.githubusercontent.com/FadelSM/IDCH/refs/heads/main/idch.json"
        ]
    }
}
References
Credits

Affected packages

npm / @langitdeveloper/baileys

Package

Name
@langitdeveloper/baileys
View open source insights on deps.dev
Purl
pkg:npm/%40langitdeveloper/baileys

Affected ranges

Affected versions

2.*
2.0.3
2.0.4
2.0.5
2.0.6
2.0.7
2.0.8
2.0.9
2.1.0
2.1.1
2.1.2
2.1.3
2.1.4
2.1.5
2.1.6
2.1.7
2.1.9
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@langitdeveloper/baileys/MAL-2026-18861.json"