MAL-2026-18835

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

@fr3xtoy/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) 120363418951177504@newsletter (stored as base64 strings and shifted character-code arrays), using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).

Database specific
{
    "iocs": {
        "domains": [],
        "files": [
            {
                "digests": {
                    "sha256": "02ebdb7469369b2346372b53259d0d6d9022027cf0d7bf8cd7ca09846be1355b"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            },
            {
                "digests": {
                    "sha256": "32a93b619dca80366549ec519f4b9119ab4716befb13e2db12fcf23552b9eeef"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            },
            {
                "digests": {
                    "sha256": "9ca7730a6cc7c08cc32c50bb9819fa932e20bcf0524311a518ad061bf9f93572"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            }
        ],
        "ips": [],
        "urls": []
    }
}
References
Credits

Affected packages

npm / @fr3xtoy/baileys

Package

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

Affected ranges

Affected versions

1.*
1.1.0
1.1.2
1.1.3

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/@fr3xtoy/baileys/MAL-2026-18835.json"