MAL-2026-18670

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@axo_cuy/baileyss/MAL-2026-18670.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18670
Aliases
  • GHSA-8h3c-p8q4-6cxp
Published
2026-10-26T00:00:00Z
Modified
2026-11-19T05:45:14Z
Summary
Malicious code in @axo_cuy/baileyss (npm)
Details

@axo_cuy/baileyss 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) 120363412451922209@newsletter (stored base64-encoded), using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).

Version 4.0.0 (published 2026-11-05, the latest release when checked) keeps this behaviour. Its lib/Socket/newsletter.js is byte-identical to that of 3.0.1 (sha256 a72abc445c6f71496fa9cb7e3df892eea508ff00711d199d410c04fe3c9a74f4), and every other file on the socket chain from makeWASocket to makeNewsletterSocket is byte-identical to 3.0.1 except lib/Socket/socket.js, whose only change is the default pairing code. 10 seconds after the socket is created, makeNewsletterSocket sends the FOLLOW for the base64-stored channel ID; errors are swallowed and the user is not told. The autoFollow: true default in lib/Defaults/index.js is never read, so it cannot turn the follow off. CyberXYZ added this version after reading it statically on 2026-11-06; nothing was executed.


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

Source: ghsa-malware (ad9d73fcfc5276641435eff7c536d8546939f3a20aa65c8b643da8e4118b244f)

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
{
    "iocs": {
        "domains": [],
        "files": [
            {
                "digests": {
                    "sha256": "050d2ba4319861513d38f00dcd99670f6f215736742094e6610d45d5d2b43aba"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            },
            {
                "digests": {
                    "sha256": "05a23a1aa9221eeb216a62247b3a49a47e672d850e274cdd5f126a72a813b43e"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            },
            {
                "digests": {
                    "sha256": "a72abc445c6f71496fa9cb7e3df892eea508ff00711d199d410c04fe3c9a74f4"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            }
        ],
        "ips": [],
        "urls": []
    },
    "malicious-packages-origins": [
        {
            "id": "GHSA-8h3c-p8q4-6cxp",
            "import_time": "2026-11-19T05:18:48.994482576Z",
            "modified_time": "2026-11-19T04:50:02Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "ad9d73fcfc5276641435eff7c536d8546939f3a20aa65c8b643da8e4118b244f",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / @axo_cuy/baileyss

Package

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

Affected ranges

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

Affected versions

1.*
1.0.0
1.0.1
3.*
3.0.1
4.*
4.0.0

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "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/@axo_cuy/baileyss/MAL-2026-18670.json"