MAL-2026-18825

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

@elfhkry666/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) 120363408893263957@newsletter, 120363413381964356@newsletter, 120363421368454744@newsletter (stored as base64 strings), 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": "4bbd58b7071236c9d63a369c417d359381828f13857d737a20edb151c369613e"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            },
            {
                "digests": {
                    "sha256": "5517ebf3a4b7b0778a224d1bbc32c8801fb341d0fe0eb9dc7ed869bd35f50ddd"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            },
            {
                "digests": {
                    "sha256": "95d5784fd1d5297be08e9dabc60fa96cee2b52525fffae7e26716e0fb27bd43a"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            },
            {
                "digests": {
                    "sha256": "bf08b5afcbea3e45f98680538cb64b4043f43219b59d42f7361fba84a67390e5"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            }
        ],
        "ips": [],
        "urls": []
    }
}
References
Credits

Affected packages

npm / @elfhkry666/baileys

Package

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

Affected ranges

Affected versions

0.*
0.3.20
0.3.21
0.3.22
0.3.23
0.3.24
0.3.25
0.3.26
0.3.27

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