MAL-2026-20337

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@silent404/baileys/MAL-2026-20337.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20337
Published
2026-11-22T23:37:39Z
Modified
2026-11-23T00:45:04Z
Summary
Malicious code in @silent404/baileys (npm)
Details

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

Source: amazon-inspector (a8c78aa3f8099cb8bfc40966d5098cfb17f0efba719136cf84fb2034de8cfbea)

package.json declares libsignal as git+https://github.com/whiskeysockets/libsignal-node with no commit SHA, tag, or ref pin. On npm install, this fetches whatever the default branch currently points to and executes any lifecycle scripts it contains, with no integrity check and no version pin. Control of that repository (or of its default branch) translates directly into code execution on any machine installing this package. The package is a third-party republish under the @silent404 scope of the Baileys library and transfers install-time trust to an external repository it does not itself control. Other static matches (a ping-keyword co-occurrence in lib/Utils/generics.js) correspond to the library's documented WebSocket keep-alive/ping logic, not an exfiltration path.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-023028",
            "import_time": "2026-11-23T00:32:39.790497025Z",
            "modified_time": "2026-11-22T23:37:52Z",
            "sha256": "2abf574d1761cbe09d306210410fd9d5f58f82dc0d896b515d0967d2ec1bf058",
            "source": "amazon-inspector",
            "versions": [
                "7.0.2"
            ]
        },
        {
            "id": "IN-MAL-2026-023026",
            "import_time": "2026-11-23T00:32:39.657434606Z",
            "modified_time": "2026-11-22T23:37:39Z",
            "sha256": "709bc67cb6534cd622336ee39c471a021adf94c50cc4ff8bedc1828b8d33f78b",
            "source": "amazon-inspector",
            "versions": [
                "7.2.1"
            ]
        },
        {
            "id": "IN-MAL-2026-023031",
            "import_time": "2026-11-23T00:32:40.128762046Z",
            "modified_time": "2026-11-22T23:38:13Z",
            "sha256": "a8c78aa3f8099cb8bfc40966d5098cfb17f0efba719136cf84fb2034de8cfbea",
            "source": "amazon-inspector",
            "versions": [
                "7.0.1"
            ]
        },
        {
            "id": "IN-MAL-2026-023030",
            "import_time": "2026-11-23T00:32:40.052789602Z",
            "modified_time": "2026-11-22T23:38:05Z",
            "sha256": "da8ce29e1f48e6e5e532878cf840d4676ed4a198e2b95988d279a94f5ebd0643",
            "source": "amazon-inspector",
            "versions": [
                "7.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @silent404/baileys

Package

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

Affected ranges

Affected versions

7.*
7.0.0
7.0.1
7.0.2
7.2.1

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": "4e06fc67de1c61aa958422540eed53052b4dd3d0be43913f2e04683e0eb7caaa",
            "tlsh": "08613025cd98cd730ac516d9aab84241a5b909938e91fc0c739853ac4f0e25f32faf6d"
        }
    ],
    "package_integrity": [
        {
            "filename": "baileys-7.0.2.tgz",
            "hashes": {
                "sha1": "d2f7bc4571a3abc52e3eaf9955db3b245e74d2f5",
                "sha512_sri": "sha512-UMXgMselTvLViwIpN4aLBuwawPb2nIcsVkhORKubotsNbiQFpj/zLZCNypcxSHuSTWyHdZIRfq6weT8nSgWPNg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@silent404/baileys/MAL-2026-20337.json"