MAL-2026-20337

Vulnerability from ossf_malicious_packages – Published: 2026-11-22 23:37 – Updated: 2026-11-23 00:34 – Source website
Malicious package
Summary
Malicious code in @silent404/baileys (npm)
Affected package
Ecosystem Package Versions
npm @silent404/baileys
7.0.27.2.17.0.17.0.0
Details
Amazon Inspector IN-MAL-2026-023031 Reported 2026-11-22 23:38

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.

Amazon Inspector IN-MAL-2026-023028 Reported 2026-11-22 23:37

No description from this source.

Amazon Inspector IN-MAL-2026-023026 Reported 2026-11-22 23:37

No description from this source.

Amazon Inspector IN-MAL-2026-023030 Reported 2026-11-22 23:38

No description from this source.

Indicators
Type Indicator Hashes
Evidence file package.json
sha256 4e06fc67de1c61aa958422540eed53052b4dd3d0be43913f2e04683e0eb7caaa
tlsh 08613025cd98cd730ac516d9aab84241a5b909938e91fc0c739853ac4f0e25f32faf6d
Package archive baileys-7.0.2.tgz
sha1 d2f7bc4571a3abc52e3eaf9955db3b245e74d2f5
sha512_sri sha512-UMXgMselTvLViwIpN4aLBuwawPb2nIcsVkhORKubotsNbiQFpj/zLZCNypcxSHuSTWyHdZIRfq6weT8nSgWPNg==
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"
          },
          {
            "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=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "@silent404/baileys"
      },
      "versions": [
        "7.0.2",
        "7.2.1",
        "7.0.1",
        "7.0.0"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "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"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a8c78aa3f8099cb8bfc40966d5098cfb17f0efba719136cf84fb2034de8cfbea)\npackage.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\u0027s documented WebSocket keep-alive/ping logic, not an exfiltration path.\n",
  "id": "MAL-2026-20337",
  "modified": "2026-11-23T00:34:13Z",
  "published": "2026-11-22T23:37:39Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@silent404/baileys/v/7.0.2"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@silent404/baileys/v/7.2.1"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@silent404/baileys/v/7.0.1"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@silent404/baileys/v/7.0.0"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in @silent404/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.