MAL-2026-19059

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@zanxiky/baileys/MAL-2026-19059.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-19059
Aliases
  • GHSA-w5w9-7whq-mg6h
Published
2026-11-13T03:31:49Z
Modified
2026-11-20T19:30:03Z
Summary
Malicious code in @zanxiky/baileys (npm)
Details

Malicious package. @zanxiky/baileys is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). on connection it issues an authenticated w:mex newsletter FOLLOW mutation (query_id 7871414976211147) that silently subscribes every victim to attacker-controlled WhatsApp channels — hardcoded newsletter JIDs: 120363399602691477@newsletter, 120363421563597486@newsletter. Legitimate Baileys never hardcodes a channel JID or auto-follows on connect; all published versions are malicious. Detected by wormsign static analysis of the injected channel-subscription code.


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

Source: amazon-inspector (0f1051c395438db8dc0dbe6de1cb09e6e10c83fc6062d359ca85093ce946f0e0)

package.json for @zanxiky/baileys@1.1.0 declares the libsignal dependency as github:tenka-san/libsignal-node — a non-registry git source on an unaffiliated personal GitHub account with no commit SHA and no integrity check. On npm install, npm clones the current default-branch tip of that repository and executes any lifecycle scripts it contains, so the owner of the tenka-san GitHub account controls arbitrary code execution on every installer's machine, and the referenced bytes can change at any time without any version bump to this package. The GitHub account is unrelated to the upstream Baileys publisher (whiskeysockets), and the fork itself appears to be a lookalike of the Baileys WhatsApp library.

Source: ghsa-malware (1c3af331ebfa847b3ddb832c506f67b7fabc83af1ddcdee4d5c346b83de78790)

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": {},
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-022677",
            "import_time": "2026-11-13T03:36:33.193507638Z",
            "modified_time": "2026-11-13T03:31:49Z",
            "sha256": "0f1051c395438db8dc0dbe6de1cb09e6e10c83fc6062d359ca85093ce946f0e0",
            "source": "amazon-inspector",
            "versions": [
                "1.1.0"
            ]
        },
        {
            "id": "GHSA-w5w9-7whq-mg6h",
            "import_time": "2026-11-20T19:17:21.127875683Z",
            "modified_time": "2026-11-20T19:08:27Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "1c3af331ebfa847b3ddb832c506f67b7fabc83af1ddcdee4d5c346b83de78790",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / @zanxiky/baileys

Package

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

Affected ranges

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

Affected versions

0.*
0.0.0-stage
1.*
1.1.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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "package.json",
            "sha256": "586f892fa34d104962139d32f9ad2f46e6891ed3fa731368fb2a3ec138bbc611",
            "tlsh": "4681ec34ce58cea30ac526e8a9bc0141a47959539ec1fc1cb35447ac8f4e14f72b9b3d"
        }
    ],
    "package_integrity": [
        {
            "filename": "baileys-1.1.0.tgz",
            "hashes": {
                "sha1": "6cb777cf9be8db6164dccc115bc1070ecc39b57f",
                "sha512_sri": "sha512-eqz2EcMrp4oDJpVMVoiwQhkkDUirimKlF62hMBwyaf39GraV6k9vbF72+G2OJpHh5P1El1Dpdkmykaczoy511A=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@zanxiky/baileys/MAL-2026-19059.json"