MAL-2026-18967

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/diezyxalisa-baileys/MAL-2026-18967.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18967
Aliases
  • GHSA-36gf-xv4j-jrfj
Published
2026-10-27T00:00:00Z
Modified
2026-11-13T03:45:12Z
Summary
Malicious code in diezyxalisa-baileys (npm)
Details

diezyxalisa-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/messages-recv.js sends the WhatsApp w:mex FOLLOW query and then MUTE, so the channel goes unnoticed, for the channel ID(s) 120363411200403731@newsletter, 120363418090359162@newsletter (stored as character-code arrays), using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).


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

Source: amazon-inspector (767feb3d3c78809fa267986676847d60b63ce38ccd11443f2b7c903afc3f1e6b)

diezyxalisa-baileys is a fork of the Baileys WhatsApp library. Its package.json declares the libsignal dependency as github:dzytzy/alya-baileys#latest — an off-registry source pointing at a mutable branch on the same author's GitHub rather than a registry version range or a pinned commit SHA. On npm install, npm clones whatever that branch currently contains and runs any lifecycle scripts inside the cloned repository, with no version pin and no integrity check. Because the branch is mutable and under the publisher's sole control, the code that runs on an installer's machine can change at any time after this package was published. The dependency name also shadows the well-known upstream libsignal crypto library, so this entry replaces the expected implementation in the dependency tree. Separately, the fork wires an undocumented auto-follow of a hardcoded author-owned WhatsApp newsletter (120363411407993897@newsletter) into makeNewsletterSocket, which runs 10 seconds after socket startup using the installer's authenticated WhatsApp session unless the caller sets autoFollowChannels:false.

Source: ghsa-malware (2678ad26283894b7a107c2e6453411620aec002dba9055dbcf86a0c987051f3b)

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": "35ae68593b649468d3e83dbf45f359238b789ded4233e7ac76ea7b14b2737829"
                },
                "paths": [
                    "lib/Socket/messages-recv.js"
                ]
            }
        ],
        "ips": [],
        "urls": []
    },
    "malicious-packages-origins": [
        {
            "id": "GHSA-36gf-xv4j-jrfj",
            "import_time": "2026-11-12T15:18:09.664773331Z",
            "modified_time": "2026-11-12T15:05:05Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "2678ad26283894b7a107c2e6453411620aec002dba9055dbcf86a0c987051f3b",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-022707",
            "import_time": "2026-11-13T03:36:35.76191042Z",
            "modified_time": "2026-11-13T03:35:19Z",
            "sha256": "767feb3d3c78809fa267986676847d60b63ce38ccd11443f2b7c903afc3f1e6b",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / diezyxalisa-baileys

Package

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

Affected ranges

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

Affected versions

1.*
1.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"
    },
    {
        "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": "2297e6a775cee882be8d6aea2c63a52bc7d09c42d63233c0d829e9c98987d2d8",
            "tlsh": "bfb19927d9ec0d6321833a8859be9a122562805b9e147c14378d5bbc8f9d69f12ff33d"
        },
        {
            "path": "lib/Socket/newsletter.js",
            "sha256": "21cc1f19a0034eea4e06e026b23392f3073085730f76a141f4e067da1112f383",
            "tlsh": "c30256924db6476106e77864653b70e1f236b2833d1aa8567bccd1024f4f09ceab37ca"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/diezyxalisa-baileys/MAL-2026-18967.json"