MAL-2026-20178

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@bellaxchan/baileys/MAL-2026-20178.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20178
Aliases
  • GHSA-q8vw-5727-f25r
Published
2026-11-19T04:52:00Z
Modified
2026-11-19T07:15:08Z
Summary
Malicious code in @bellaxchan/baileys (npm)
Details

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

Source: amazon-inspector (cfaba6ec73d4c98d3fe9038bb954fee09da11d582b61066da1aa4cfd87bce828)

package.json declares the libsignal dependency as github:tenka-san/libsignal-node with no commit SHA, tag, or other integrity pin. On npm install, npm clones whatever currently sits at the default branch of that personal GitHub repository and installs it, executing any lifecycle scripts the cloned repo declares at install time and loading its code when Baileys is required. Whoever controls that GitHub account can change the branch contents at any time to deliver arbitrary code into the installer's environment, with no version pin, no hash, and no publisher relationship to the npm scope @bellaxchan. This is an off-registry, mutable dependency source rather than a pinned registry release.

Source: ghsa-malware (987b997f9110d96a7875f791b637f9e183941291d610b2ef04d5151b1a97b393)

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-q8vw-5727-f25r",
            "import_time":  "2026-11-19T05:18:49.020591105Z",
            "modified_time":  "2026-11-19T04:52:00Z",
            "ranges":  [
                {
                    "events":  [
                        {
                            "introduced":  "0"
                        }
                    ],
                    "type":  "SEMVER"
                }
            ],
            "sha256":  "987b997f9110d96a7875f791b637f9e183941291d610b2ef04d5151b1a97b393",
            "source":  "ghsa-malware"
        },
        {
            "id":  "IN-MAL-2026-022836",
            "import_time":  "2026-11-19T07:12:39.796077285Z",
            "modified_time":  "2026-11-19T06:47:49Z",
            "sha256":  "cfaba6ec73d4c98d3fe9038bb954fee09da11d582b61066da1aa4cfd87bce828",
            "source":  "amazon-inspector",
            "versions":  [
                "1.4.3"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @bellaxchan/baileys

Package

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

Affected ranges

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

Affected versions

1.*
1.4.3

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":  "25f0ff6aab536107f890688503fde1df9ebbdf206bf98573adf579f832f0628a",
            "tlsh":  "0981fc35cd68cea30ac616e8a9bc0141a47959539ec1f81cb39847ac8f0e25f71b9f3d"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "baileys-1.4.3.tgz",
            "hashes":  {
                "sha1":  "7f6e1259a7dbdc215c383590af820c9cbfd1d858",
                "sha512_sri":  "sha512-lvFl+EnL+nqrF/uhKmdUMzHP2jd8OKjLdTmoM726qjqL8Y9JT/SxhLL8TDvTSgja5guGqiqt7Ci3tSY+80BCOQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@bellaxchan/baileys/MAL-2026-20178.json"