MAL-2026-18937

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

astrabail 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) 120363394395254196@newsletter, 120363406005175144@newsletter and the channel invite code(s) 0029Vazo6KM8kyyJ4eWh3A25, 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": "218c6eb30580660bf95cae648f0d623eda528d969e447057d2eaeae775219128"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            },
            {
                "digests": {
                    "sha256": "5816c5355aa4186102b86c0bcd1342f79ff2467d99163bec68497dbb67b06510"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            },
            {
                "digests": {
                    "sha256": "95474c5954d629e8f88699e9c4a689cf0dd17d594e36faf73a1997a7f9771ebd"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            },
            {
                "digests": {
                    "sha256": "fb307693efe1d7f5232ff263c4e2381504cc705613b90db79f0f3fe81d2c268d"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            }
        ],
        "ips": [],
        "urls": []
    }
}
References
Credits

Affected packages

npm / astrabail

Package

Affected ranges

Affected versions

1.*
1.0.6
1.0.7
1.0.8
1.0.9
1.0.10
1.1.0
1.1.1
1.1.2
1.1.3
1.1.6
1.2.0
1.2.1
1.2.4

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/astrabail/MAL-2026-18937.json"