MAL-2026-18412

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ourin-baileys/MAL-2026-18412.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18412
Aliases
  • GHSA-5qgv-v3j9-f64g
Published
2026-10-30T16:31:00Z
Modified
2026-11-05T23:15:04Z
Summary
Malicious code in ourin-baileys (npm)
Details

ourin-baileys is a fork of the Baileys WhatsApp Web library that silently subscribes the installer's own authenticated WhatsApp account to an author-chosen WhatsApp Channel. Part of the campaign OX Security documented as "PhantomSub" (2026-09-28): https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/ . Static read of the published 9.0.21 tarball on 2026-10-16 (not executed) found a hardcoded channel JID 120363400911374213@newsletter together with the newsletter FOLLOW query wired to run automatically after the socket connects, with errors suppressed. Same family as the withdrawn MAL-2026-4519 (chromestaff-baileys 1.1.3). Live on npm with no OSV record as of 2026-10-16.


-= Per source details. Do not edit below this line.=-

Source: ghsa-malware (c4045a1463ae4951c8b31784eb251ddf2513419645339229d2b46c6b1a4804f6)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "GHSA-5qgv-v3j9-f64g",
            "import_time": "2026-10-30T17:17:00.327081499Z",
            "modified_time": "2026-10-30T16:31:00Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "c4045a1463ae4951c8b31784eb251ddf2513419645339229d2b46c6b1a4804f6",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / ourin-baileys

Package

Name
ourin-baileys
View open source insights on deps.dev
Purl
pkg:npm/ourin-baileys

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

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/ourin-baileys/MAL-2026-18412.json"