Skip to content
Heist/ feed
Back to feed
Unrated

Malicious code in @lekzo/baileys (npm)

Type: advisorySources: OSV

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (da5caafea4a5656343feb4b52bf0007c98e6ed65a41ad22c79f24c0f1c48566f) package.json declares the `libsignal` dependency as `github:canove/libsignal-node` — a bare GitHub owner/repo reference with no commit SHA, tag, or semver version. On `npm install`, this resolves to whatever the current HEAD of that third-party repository points at, fetching and installing arbitrary code with no integrity check and running any lifecycle scripts inside the returned bytes. Whoever controls that GitHub repository at any future moment controls code executed on every installer of this package. The static `ping`/`GET` co-occurrence in lib/Utils/generics.js is unrelated to this finding. ## Source: ghsa-malware (f596dd408ac6057305a2459aa435aab72d3a914a4a1c24c66df927f065fafbdc) 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.

Products
@lekzo/baileys
Affected versions
0.0.1, 0.0.7
Fixed versions
Not specified
CVEs
Not specified
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 06:38 UTC · Revision 1

Source evidence

Malicious code in @lekzo/baileys (npm)

core-osv · Original source

Published 18 Sept 2026, 01:40 UTC

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (da5caafea4a5656343feb4b52bf0007c98e6ed65a41ad22c79f24c0f1c48566f) package.json declares the `libsignal` dependency as `github:canove/libsignal-node` — a bare GitHub owner/repo reference with no commit SHA, tag, or semver version. On `npm install`, this resolves to whatever the current HEAD of that third-party repository points at, fetching and installing arbitrary code with no integrity check and running any lifecycle scripts inside the returned bytes. Whoever controls that GitHub repository at any future moment controls code executed on every installer of this package. The static `ping`/`GET` co-occurrence in lib/Utils/generics.js is unrelated to this finding. ## Source: ghsa-malware (f596dd408ac6057305a2459aa435aab72d3a914a4a1c24c66df927f065fafbdc) 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.

osv:MAL-2026-16276

@lekzo/baileys

Fixed versions: Not specified

Complete source record
{
  "id": "e23fe02da877187fc5ed6394660441a27c47b73a222410bb9d940667d9b67241",
  "url": "https://osv.dev/vulnerability/MAL-2026-16276",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Malicious code in @lekzo/baileys (npm)",
    "summary": "--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (da5caafea4a5656343feb4b52bf0007c98e6ed65a41ad22c79f24c0f1c48566f) package.json declares the `libsignal` dependency as `github:canove/libsignal-node` — a bare GitHub owner/repo reference with no commit SHA, tag, or semver version. On `npm install`, this resolves to whatever the current HEAD of that third-party repository points at, fetching and installing arbitrary code with no integrity check and running any lifecycle scripts inside the returned bytes. Whoever controls that GitHub repository at any future moment controls code executed on every installer of this package. The static `ping`/`GET` co-occurrence in lib/Utils/generics.js is unrelated to this finding. ## Source: ghsa-malware (f596dd408ac6057305a2459aa435aab72d3a914a4a1c24c66df927f065fafbdc) 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.",
    "evidence": "osv:MAL-2026-16276",
    "products": [
      {
        "name": {
          "value": "@lekzo/baileys",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.0.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.0.7",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "MAL-2026-16276",
      "aliases": [
        "GHSA-jv7g-wqqq-m6gm",
        "MAL-2026-16276"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "@lekzo/baileys",
            "purl": "pkg:npm/%40lekzo/baileys",
            "ecosystem": "npm"
          },
          "versions": [
            "0.0.1",
            "0.0.7"
          ],
          "database_specific": {
            "cwes": [
              {
                "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."
              }
            ],
            "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@lekzo/baileys/MAL-2026-16276.json",
            "indicators": {
              "evidence_files": [
                {
                  "path": "package.json",
                  "tlsh": "b991b974cd59cea30a8626ed99bc0141a4b556539ec2f81cb31c07ac8f5e24fb1b9b3d",
                  "sha256": "5a0b91acbb96e44456dc68599be20adf19201f573e9f51a98eddf8f0f630e0d4"
                }
              ],
              "package_integrity": [
                {
                  "hashes": {
                    "sha1": "069ad2b5c1122d2cfb91b34e9ab2ef7392bb5933",
                    "sha512_sri": "sha512-nCNkVnTqxuKKMjjDgPW084P2/z70n1+1gL3s52LIlAidfRPxtV5EQJ3HLkOHfXP3VDcTShhQgOr1PV6rp3f1RA=="
                  },
                  "filename": "baileys-0.0.1.tgz"
                }
              ]
            }
          }
        }
      ],
      "modified": "2026-10-12T15:45:05.408173290Z",
      "provider": "osv",
      "references": [
        "https://www.npmjs.com/package/@lekzo/baileys/v/0.0.1",
        "https://www.npmjs.com/package/@lekzo/baileys/v/0.0.7",
        "https://github.com/advisories/GHSA-jv7g-wqqq-m6gm"
      ],
      "provider_metadata": {
        "malicious-packages-origins": [
          {
            "id": "IN-MAL-2026-020172",
            "sha256": "2cd9141ef0d6d97338c5f976c8071a6f5c37010683b27d4463b2221d76b82304",
            "source": "amazon-inspector",
            "versions": [
              "0.0.1"
            ],
            "import_time": "2026-09-18T02:25:26.308382622Z",
            "modified_time": "2026-09-18T01:40:17Z"
          },
          {
            "id": "IN-MAL-2026-020316",
            "sha256": "da5caafea4a5656343feb4b52bf0007c98e6ed65a41ad22c79f24c0f1c48566f",
            "source": "amazon-inspector",
            "versions": [
              "0.0.7"
            ],
            "import_time": "2026-09-22T23:15:45.005930018Z",
            "modified_time": "2026-09-22T23:07:14Z"
          },
          {
            "id": "GHSA-jv7g-wqqq-m6gm",
            "ranges": [
              {
                "type": "SEMVER",
                "events": [
                  {
                    "introduced": "0"
                  }
                ]
              }
            ],
            "sha256": "f596dd408ac6057305a2459aa435aab72d3a914a4a1c24c66df927f065fafbdc",
            "source": "ghsa-malware",
            "import_time": "2026-10-12T15:30:17.201846964Z",
            "modified_time": "2026-10-12T15:21:01Z"
          }
        ]
      }
    },
    "related_cves": [],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 300003,
  "published_at": "2026-09-18T01:40:17+00:00"
}