Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    MAL-2026-18717 (GHSA-9FV3-7F93-GCQH)

    Vulnerability from ossf_malicious_packages – Published: 2026-10-27 00:00 – Updated: 2026-11-09 23:05 – Source website
    Malicious package
    Summary
    Malicious code in @exclipz/baileys (npm)
    Affected package
    Ecosystem Package Versions
    npm @exclipz/baileys
    Affected: All versions (semver)
    10.0.1
    Details

    @exclipz/baileys is a fork of the Baileys WhatsApp Web library that silently subscribes the installer's own WhatsApp account to WhatsApp Channels chosen by the publisher. When the socket connects, code in lib/Socket/newsletter.js sends the WhatsApp w:mex FOLLOW query for the channel ID(s) 120363408801894166@newsletter, 120363425135639322@newsletter (stored as base64 strings), using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).

    GitHub Advisory Database GHSA-9fv3-7f93-gcqh Reported 2026-11-06 03:47

    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.

    Indicators
    Type Indicator Hashes
    File lib/Socket/newsletter.js
    sha256 3a9bd8ad5090676bf31667dde42bcdb9e73b077d6f0afcb73d8b565bb0bdea4e
    CWE
    • CWE-506 - Embedded Malicious Code

    {
      "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"
              }
            ]
          },
          "package": {
            "ecosystem": "npm",
            "name": "@exclipz/baileys"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                }
              ],
              "type": "SEMVER"
            }
          ],
          "versions": [
            "10.0.1"
          ]
        }
      ],
      "aliases": [
        "GHSA-9fv3-7f93-gcqh"
      ],
      "credits": [
        {
          "contact": [
            "https://cyberxyz.io"
          ],
          "name": "CyberXYZ",
          "type": "FINDER"
        }
      ],
      "database_specific": {
        "iocs": {
          "domains": [],
          "files": [
            {
              "digests": {
                "sha256": "3a9bd8ad5090676bf31667dde42bcdb9e73b077d6f0afcb73d8b565bb0bdea4e"
              },
              "paths": [
                "lib/Socket/newsletter.js"
              ]
            }
          ],
          "ips": [],
          "urls": []
        },
        "malicious-packages-origins": [
          {
            "id": "GHSA-9fv3-7f93-gcqh",
            "import_time": "2026-11-06T04:20:29.493383828Z",
            "modified_time": "2026-11-06T03:47:31Z",
            "ranges": [
              {
                "events": [
                  {
                    "introduced": "0"
                  }
                ],
                "type": "SEMVER"
              }
            ],
            "sha256": "642e5dee2e46ea01f45d16689f6037de36956b35e5c4c390d88c8638fd415a4e",
            "source": "ghsa-malware"
          }
        ]
      },
      "details": "@exclipz/baileys is a fork of the Baileys WhatsApp Web library that silently subscribes the installer\u0027s own WhatsApp account to WhatsApp Channels chosen by the publisher. When the socket connects, code in lib/Socket/newsletter.js sends the WhatsApp w:mex FOLLOW query for the channel ID(s) 120363408801894166@newsletter, 120363425135639322@newsletter (stored as base64 strings), using the victim\u0027s authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: ghsa-malware (642e5dee2e46ea01f45d16689f6037de36956b35e5c4c390d88c8638fd415a4e)\nAny 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.\n",
      "id": "MAL-2026-18717",
      "modified": "2026-11-09T23:05:21.956921728Z",
      "published": "2026-10-27T00:00:00Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-9fv3-7f93-gcqh"
        },
        {
          "type": "PACKAGE",
          "url": "https://www.npmjs.com/package/@exclipz/baileys"
        },
        {
          "type": "WEB",
          "url": "https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"
        }
      ],
      "schema_version": "1.7.4",
      "summary": "Malicious code in @exclipz/baileys (npm)"
    }