Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    MAL-2026-18718 (GHSA-9J99-FW58-88HG)

    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/bails (npm)
    Affected package
    Ecosystem Package Versions
    npm @exclipz/bails
    Affected: All versions (semver)
    2.0.32.0.7
    Details

    @exclipz/bails 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-9j99-fw58-88hg 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 24610dc3c23b8337c0134512703e45f0b1345e55b3a2132ff94bbfed9ea2f40a
    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/bails"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                }
              ],
              "type": "SEMVER"
            }
          ],
          "versions": [
            "2.0.3",
            "2.0.7"
          ]
        }
      ],
      "aliases": [
        "GHSA-9j99-fw58-88hg"
      ],
      "credits": [
        {
          "contact": [
            "https://cyberxyz.io"
          ],
          "name": "CyberXYZ",
          "type": "FINDER"
        }
      ],
      "database_specific": {
        "iocs": {
          "domains": [],
          "files": [
            {
              "digests": {
                "sha256": "24610dc3c23b8337c0134512703e45f0b1345e55b3a2132ff94bbfed9ea2f40a"
              },
              "paths": [
                "lib/Socket/newsletter.js"
              ]
            },
            {
              "digests": {
                "sha256": "ceb3f87a83621fe584d7f8c108a5086a61234c38951c3fd8f59bf61ea7254dcc"
              },
              "paths": [
                "lib/Socket/newsletter.js"
              ]
            }
          ],
          "ips": [],
          "urls": []
        },
        "malicious-packages-origins": [
          {
            "id": "GHSA-9j99-fw58-88hg",
            "import_time": "2026-11-06T04:20:29.523806151Z",
            "modified_time": "2026-11-06T03:47:30Z",
            "ranges": [
              {
                "events": [
                  {
                    "introduced": "0"
                  }
                ],
                "type": "SEMVER"
              }
            ],
            "sha256": "8abb39c9776d322abb7f9f8fd03c769020bbdd84a7ff6e3a23248bee2cdf09e5",
            "source": "ghsa-malware"
          }
        ]
      },
      "details": "@exclipz/bails 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 (8abb39c9776d322abb7f9f8fd03c769020bbdd84a7ff6e3a23248bee2cdf09e5)\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-18718",
      "modified": "2026-11-09T23:05:21.958131327Z",
      "published": "2026-10-27T00:00:00Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-9j99-fw58-88hg"
        },
        {
          "type": "PACKAGE",
          "url": "https://www.npmjs.com/package/@exclipz/bails"
        },
        {
          "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/bails (npm)"
    }