MAL-2026-18828

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

@fadeldev/baileys-mod 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) 120363408367338249@newsletter, 120363409508273158@newsletter, 12036340982021544@newsletter (stored as character-code arrays) and a list downloaded at runtime from https://raw.githubusercontent.com/D4mxor/Screaper/refs/heads/main/idChannel.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": "ad05a00816bd393d5a0245edd7b3e07a2b1484df25f189927127e5726eb0744e"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            },
            {
                "digests": {
                    "sha256": "c568dc605ff4602da82deffa96388fb6ebc27973868c0895e6b2e50f7b46bafb"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            },
            {
                "digests": {
                    "sha256": "cf6c5a6b325c4e5a68fe43dd9d83002e1f19e1b522090540ff84e0b35e4fddab"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            }
        ],
        "ips": [],
        "urls": [
            "https://raw.githubusercontent.com/D4mxor/Screaper/refs/heads/main/idChannel.json"
        ]
    }
}
References
Credits

Affected packages

npm / @fadeldev/baileys-mod

Package

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

Affected ranges

Affected versions

8.*
8.0.2
8.0.3
8.0.4
8.0.5

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/@fadeldev/baileys-mod/MAL-2026-18828.json"