MAL-2026-18990

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

mid-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) 120363301416835342@newsletter, 120363426558938675@newsletter and the channel invite code(s) 0029VbCinBtD38CRx4Oh4n1U and a list downloaded at runtime from https://raw.githubusercontent.com/gcamerator/My/refs/heads/main/ids.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": "73481451499b8715adb883623c16d760a51ee8b221074f6474a7bcbfb59fe4ce"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            },
            {
                "digests": {
                    "sha256": "a3ed4171fd41a3ee9e8e73ef213b7c1e80d547602a3ab589c892e7527b46ef9c"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            },
            {
                "digests": {
                    "sha256": "abc13624d6eab5820b204faa8abaf14c802835a23a5a6b9298114fd650225956"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            }
        ],
        "ips": [],
        "urls": [
            "https://raw.githubusercontent.com/gcamerator/My/refs/heads/main/ids.json"
        ]
    }
}
References
Credits

Affected packages

npm / mid-baileys

Package

Affected ranges

Affected versions

0.*
0.7.26
0.7.27
0.7.28
0.7.29
0.7.30

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/mid-baileys/MAL-2026-18990.json"