MAL-2026-17670

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@itsmee_aizat.id/baileys2/MAL-2026-17670.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17670
Aliases
  • GHSA-g6w5-p954-xcfr
Published
2026-10-08T13:21:49Z
Modified
2026-10-09T17:25:23Z
Summary
Malicious code in @itsmee_aizat.id/baileys2 (npm)
Details

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

Source: amazon-inspector (c95f98902ced2f03261621ba4cb5386a892bf31ac4510b916708d3d3eb21aa50)

package.json declares "libsignal": "github:tenka-san/libsignal-node" as a runtime dependency. The source is a GitHub user account unrelated to the package publisher (itsmeeaizat1) and unrelated to the upstream Baileys project (WhiskeySockets), with no commit SHA, tag, or integrity check. npm install resolves the current HEAD of that repository and executes any lifecycle scripts it ships, so whoever controls tenka-san/libsignal-node controls code installed on the installer's machine. The shipped lib/Signal/libsignal.js requires this dependency by name, so the pulled code is loaded at runtime as well. The separate fetchLatestBaileysVersion / fetchLatestWaWebVersion GET requests to raw.githubusercontent.com/WhiskeySockets/Baileys and web.whatsapp.com/sw.js are read-only version probes with no installer data in the request body.

Source: ghsa-malware (f0b8c7ac561d44527d67a7e788e4931e2bd0676ba7439974d4b3ab0f01fa77d3)

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-g6w5-p954-xcfr",
            "import_time": "2026-10-08T13:33:19.396401631Z",
            "modified_time": "2026-10-08T13:21:50Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "f0b8c7ac561d44527d67a7e788e4931e2bd0676ba7439974d4b3ab0f01fa77d3",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-021342",
            "import_time": "2026-10-09T17:16:17.232762135Z",
            "modified_time": "2026-10-09T17:12:13Z",
            "sha256": "5d0bcc2a2c4a727390db5b16db5dcf2258115fbcd21410b47e7ee9dbccc7fe51",
            "source": "amazon-inspector",
            "versions": [
                "2.0.1"
            ]
        },
        {
            "id": "IN-MAL-2026-021341",
            "import_time": "2026-10-09T17:16:17.134015865Z",
            "modified_time": "2026-10-09T17:12:04Z",
            "sha256": "6d3966a1921328ed381d9f906a6b6ae383dd68e26af24149f494b3295e836e84",
            "source": "amazon-inspector",
            "versions": [
                "2.0.2"
            ]
        },
        {
            "id": "IN-MAL-2026-021343",
            "import_time": "2026-10-09T17:16:17.328775692Z",
            "modified_time": "2026-10-09T17:12:21Z",
            "sha256": "c95f98902ced2f03261621ba4cb5386a892bf31ac4510b916708d3d3eb21aa50",
            "source": "amazon-inspector",
            "versions": [
                "2.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @itsmee_aizat.id/baileys2

Package

Name
@itsmee_aizat.id/baileys2
View open source insights on deps.dev
Purl
pkg:npm/%40itsmee_aizat.id/baileys2

Affected ranges

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

Affected versions

2.*
2.0.0
2.0.1
2.0.2

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"
    },
    {
        "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": "da9927f14663203a2aa0f1049c3c2c03f3f27f6498cbbf17a900d17dd3244441",
            "tlsh": "0381ea34ce58cea30ac526e9a9bd0002a87459539ec1f81cb35907ac8f5e24f71b9f3d"
        }
    ],
    "package_integrity": [
        {
            "filename": "baileys2-2.0.1.tgz",
            "hashes": {
                "sha1": "d72976d0493c6228e94abe90312fcc0f14d22f01",
                "sha512_sri": "sha512-gfJYdF/JWb+fNt1uqwrDjWe9Ish0f2cxK8z9aVdloLSxmSw2MhqKpZcbCqeCPMYoE40CTmf8q0nvDB3zXJChig=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@itsmee_aizat.id/baileys2/MAL-2026-17670.json"