Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    MAL-2026-18829 (GHSA-GJ24-WJGQ-6HXQ)

    Vulnerability from ossf_malicious_packages – Published: 2026-10-27 00:00 – Updated: 2026-11-26 18:22 – Source website
    Malicious package
    Summary
    Malicious code in @fadeldev/baileys-mods (npm)
    Affected package
    Ecosystem Package Versions
    npm @fadeldev/baileys-mods
    Affected: All versions (semver)
    8.0.4
    Details

    @fadeldev/baileys-mods 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) 120363408367338249@newsletter, 120363409508273158@newsletter, 12036340982021544@newsletter (stored as character-code arrays), using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).

    GitHub Advisory Database GHSA-gj24-wjgq-6hxq Reported 2026-11-26 17:40

    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 cf6c5a6b325c4e5a68fe43dd9d83002e1f19e1b522090540ff84e0b35e4fddab
    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": "@fadeldev/baileys-mods"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                }
              ],
              "type": "SEMVER"
            }
          ],
          "versions": [
            "8.0.4"
          ]
        }
      ],
      "aliases": [
        "GHSA-gj24-wjgq-6hxq"
      ],
      "credits": [
        {
          "contact": [
            "https://cyberxyz.io"
          ],
          "name": "CyberXYZ",
          "type": "FINDER"
        }
      ],
      "database_specific": {
        "iocs": {
          "domains": [],
          "files": [
            {
              "digests": {
                "sha256": "cf6c5a6b325c4e5a68fe43dd9d83002e1f19e1b522090540ff84e0b35e4fddab"
              },
              "paths": [
                "lib/Socket/newsletter.js"
              ]
            }
          ],
          "ips": [],
          "urls": []
        },
        "malicious-packages-origins": [
          {
            "id": "GHSA-gj24-wjgq-6hxq",
            "import_time": "2026-11-26T18:21:04.350061352Z",
            "modified_time": "2026-11-26T17:40:32Z",
            "ranges": [
              {
                "events": [
                  {
                    "introduced": "0"
                  }
                ],
                "type": "SEMVER"
              }
            ],
            "sha256": "de3db91d017c76336bb0d0f223648e5f05638738b351b9c7660e2b6fb2884922",
            "source": "ghsa-malware"
          }
        ]
      },
      "details": "@fadeldev/baileys-mods 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) 120363408367338249@newsletter, 120363409508273158@newsletter, 12036340982021544@newsletter (stored as character-code arrays), 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 (de3db91d017c76336bb0d0f223648e5f05638738b351b9c7660e2b6fb2884922)\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-18829",
      "modified": "2026-11-26T18:22:25.941845741Z",
      "published": "2026-10-27T00:00:00Z",
      "references": [
        {
          "type": "PACKAGE",
          "url": "https://www.npmjs.com/package/@fadeldev/baileys-mods"
        },
        {
          "type": "WEB",
          "url": "https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-gj24-wjgq-6hxq"
        }
      ],
      "schema_version": "1.7.4",
      "summary": "Malicious code in @fadeldev/baileys-mods (npm)"
    }