Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    MAL-2026-18632 (GHSA-475J-858M-V8WW)

    Vulnerability from ossf_malicious_packages – Published: 2026-10-26 00:00 – Updated: 2026-11-05 05:02 – Source website
    Malicious package
    Summary
    Malicious code in canta-baileys (npm)
    Affected package
    Ecosystem Package Versions
    npm canta-baileys
    Affected: All versions (semver)
    1.1.13
    Details

    canta-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 and then MUTE, so the channel goes unnoticed, for a channel list downloaded at runtime from https://raw.githubusercontent.com/FallEzz/baileys-corp/refs/heads/main/news.json, using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).

    GitHub Advisory Database GHSA-475j-858m-v8ww Reported 2026-11-04 16:37

    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
    URL https://raw.githubusercontent.com/FallEzz/baileys-corp/refs/heads/main/news.json
    File lib/Socket/newsletter.js
    sha256 a2cdd6f2aed395c2740f2f8596a5421e9af383655ebc6af2958e02196138b129
    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": "canta-baileys"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                }
              ],
              "type": "SEMVER"
            }
          ],
          "versions": [
            "1.1.13"
          ]
        }
      ],
      "aliases": [
        "GHSA-475j-858m-v8ww"
      ],
      "credits": [
        {
          "contact": [
            "https://cyberxyz.io"
          ],
          "name": "CyberXYZ",
          "type": "FINDER"
        }
      ],
      "database_specific": {
        "iocs": {
          "domains": [],
          "files": [
            {
              "digests": {
                "sha256": "a2cdd6f2aed395c2740f2f8596a5421e9af383655ebc6af2958e02196138b129"
              },
              "paths": [
                "lib/Socket/newsletter.js"
              ]
            }
          ],
          "ips": [],
          "urls": [
            "https://raw.githubusercontent.com/FallEzz/baileys-corp/refs/heads/main/news.json"
          ]
        },
        "malicious-packages-origins": [
          {
            "id": "GHSA-475j-858m-v8ww",
            "import_time": "2026-11-04T17:18:35.43392541Z",
            "modified_time": "2026-11-04T16:37:19Z",
            "ranges": [
              {
                "events": [
                  {
                    "introduced": "0"
                  }
                ],
                "type": "SEMVER"
              }
            ],
            "sha256": "39bbccdb770394ed9a63f4cc591ec9bea455a4fc92a142368188b14b8d4ca0ed",
            "source": "ghsa-malware"
          }
        ]
      },
      "details": "canta-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 and then MUTE, so the channel goes unnoticed, for a channel list downloaded at runtime from https://raw.githubusercontent.com/FallEzz/baileys-corp/refs/heads/main/news.json, 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 (39bbccdb770394ed9a63f4cc591ec9bea455a4fc92a142368188b14b8d4ca0ed)\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-18632",
      "modified": "2026-11-05T05:02:16.650514577Z",
      "published": "2026-10-26T00:00:00Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-475j-858m-v8ww"
        },
        {
          "type": "PACKAGE",
          "url": "https://www.npmjs.com/package/canta-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 canta-baileys (npm)"
    }