MAL-2026-20285

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ikyerza/baileys/MAL-2026-20285.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20285
Published
2026-11-20T03:51:16Z
Modified
2026-11-20T04:30:24Z
Summary
Malicious code in @ikyerza/baileys (npm)
Details

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

Source: amazon-inspector (0218298ffb531a5c44ec1ff6b04cf600b8dd52addcbe6fb832b1aa4498f47d29)

package.json declares the libsignal dependency as github:tenka-san/libsignal-node with no commit SHA or tag. On npm install, npm clones whatever the current HEAD of that personal GitHub repository is and executes any lifecycle scripts it contains on the installer's machine. The dependency key libsignal also shadows the published registry package of the same name, a dependency-confusion-shape aggravator: callers reading the manifest see a familiar name but resolution is redirected to a personal account that is not associated with the declared publisher of this package or of the upstream Baileys project. The repository owner can change the installed bytes at any time without any version bump in this package.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-022941",
            "import_time": "2026-11-20T04:13:20.119815103Z",
            "modified_time": "2026-11-20T03:51:16Z",
            "sha256": "0218298ffb531a5c44ec1ff6b04cf600b8dd52addcbe6fb832b1aa4498f47d29",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-022944",
            "import_time": "2026-11-20T04:13:20.275065823Z",
            "modified_time": "2026-11-20T03:51:38Z",
            "sha256": "4130bf477ca0993c6e49d6d3ccfa6f1302ecce7b574145e524c16c3e6fbf6468",
            "source": "amazon-inspector",
            "versions": [
                "1.1.1"
            ]
        },
        {
            "id": "IN-MAL-2026-022945",
            "import_time": "2026-11-20T04:13:20.3205702Z",
            "modified_time": "2026-11-20T03:51:44Z",
            "sha256": "2bb2b392bb9734f3f3d241f170a854e6718a6d7e5cf1f7c84a9761c462057d70",
            "source": "amazon-inspector",
            "versions": [
                "1.2.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @ikyerza/baileys

Package

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

Affected ranges

Affected versions

1.*
1.0.0
1.1.1
1.2.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": "ec438034efc9fbb825d9c8e5ee56d6f08d7b656cb1a46ad0a0c6d8585cba1fe3",
            "tlsh": "1981fd34cd58cea30ac526e8a9bc0041a4b559539ec5fc5cb35407ac8f5e14f72b9b3d"
        }
    ],
    "package_integrity": [
        {
            "filename": "baileys-1.0.0.tgz",
            "hashes": {
                "sha1": "1c6838d5dab3bbb0dc745034292eaa3bfd1f8c62",
                "sha512_sri": "sha512-2JdTJ9GliqCK1kXUCpBFEfFse49rVUaUtTSJAR7cnDaOc+ZSq/Vu1SmSlf0ZHiTqLc4kNj8Fm9H9+T0OAUVclQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ikyerza/baileys/MAL-2026-20285.json"