MAL-2026-20340

Vulnerability from ossf_malicious_packages – Published: 2026-11-23 03:59 – Updated: 2026-11-23 04:16 – Source website
Malicious package
Summary
Malicious code in @xz-bails/baileys (npm)
Affected package
Ecosystem Package Versions
npm @xz-bails/baileys
6.0.106.0.11
Details
Amazon Inspector IN-MAL-2026-023038 Reported 2026-11-23 03:59

package.json declares libsignal as github:tenka-san/libsignal-node with no commit SHA, tag, or integrity check. On npm install, this resolves to whatever the mutable HEAD of that personal GitHub account's branch currently returns, and any lifecycle scripts inside the fetched tarball execute on the installer's machine. The reference points to an individual personal account rather than the upstream signalapp organization or the WhiskeySockets parent of this Baileys fork, so whoever controls that GitHub repository controls code that runs on every installer of this package. This is an off-registry dependency source for a transitive that provides cryptographic/signal-protocol functionality.

Amazon Inspector IN-MAL-2026-023036 Reported 2026-11-23 03:59

No description from this source.

Indicators
Type Indicator Hashes
Evidence file package.json
sha256 747db4004eb9c4f4548b1382dbdf90aeec52b700664a50111a3cf10c64617932
tlsh ca612024cd18cea309c526dda4bd4202a1b45a039d85fc1cb3a847ac8f5d25f36b9f7d
Package archive baileys-6.0.10.tgz
sha1 92aebb99715e8ecaa5bcc8dd8df9e450f6caab21
sha512_sri sha512-155hUIOJgc9ZoGn7J42M0XknvrP0/metQVzxjhT9ulVdlRCapfEDPdNzQfZV26VmoI5o7JlKG4YemRF5dEI8Pg==
CWE
  • CWE-506 - Embedded Malicious Code
Credits
Amazon Inspector inspector-research@amazon.com

{
  "affected": [
    {
      "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": "747db4004eb9c4f4548b1382dbdf90aeec52b700664a50111a3cf10c64617932",
              "tlsh": "ca612024cd18cea309c526dda4bd4202a1b45a039d85fc1cb3a847ac8f5d25f36b9f7d"
            }
          ],
          "package_integrity": [
            {
              "filename": "baileys-6.0.10.tgz",
              "hashes": {
                "sha1": "92aebb99715e8ecaa5bcc8dd8df9e450f6caab21",
                "sha512_sri": "sha512-155hUIOJgc9ZoGn7J42M0XknvrP0/metQVzxjhT9ulVdlRCapfEDPdNzQfZV26VmoI5o7JlKG4YemRF5dEI8Pg=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "@xz-bails/baileys"
      },
      "versions": [
        "6.0.10",
        "6.0.11"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-023036",
        "import_time": "2026-11-23T04:15:11.686734608Z",
        "modified_time": "2026-11-23T03:59:24Z",
        "sha256": "94ceda91294932acad7c9fd43ad1ca3032936682606a272a9ee6cc49ba9a1c50",
        "source": "amazon-inspector",
        "versions": [
          "6.0.10"
        ]
      },
      {
        "id": "IN-MAL-2026-023038",
        "import_time": "2026-11-23T04:15:12.040728188Z",
        "modified_time": "2026-11-23T03:59:39Z",
        "sha256": "ff217bd2a1260e646df994e1d5a14ad54c79b81083e90755647c7ee2ee3c6ad3",
        "source": "amazon-inspector",
        "versions": [
          "6.0.11"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ff217bd2a1260e646df994e1d5a14ad54c79b81083e90755647c7ee2ee3c6ad3)\npackage.json declares `libsignal` as `github:tenka-san/libsignal-node` with no commit SHA, tag, or integrity check. On `npm install`, this resolves to whatever the mutable HEAD of that personal GitHub account\u0027s branch currently returns, and any lifecycle scripts inside the fetched tarball execute on the installer\u0027s machine. The reference points to an individual personal account rather than the upstream signalapp organization or the WhiskeySockets parent of this Baileys fork, so whoever controls that GitHub repository controls code that runs on every installer of this package. This is an off-registry dependency source for a transitive that provides cryptographic/signal-protocol functionality.\n",
  "id": "MAL-2026-20340",
  "modified": "2026-11-23T04:16:30Z",
  "published": "2026-11-23T03:59:24Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@xz-bails/baileys/v/6.0.10"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@xz-bails/baileys/v/6.0.11"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in @xz-bails/baileys (npm)"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.