Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    MAL-2026-18828 (GHSA-6Q8V-P8RF-J5P2)

    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-mod (npm)
    Affected package
    Ecosystem Package Versions
    npm @fadeldev/baileys-mod
    Affected: All versions (semver)
    8.0.28.0.38.0.48.0.5
    Details

    @fadeldev/baileys-mod 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) and a list downloaded at runtime from https://raw.githubusercontent.com/D4mxor/Screaper/refs/heads/main/idChannel.json, using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).

    GitHub Advisory Database GHSA-6q8v-p8rf-j5p2 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
    Domain raw.githubusercontent.com
    URL https://raw.githubusercontent.com/D4mxor/Screaper/refs/heads/main/idChannel.json
    File lib/Socket/newsletter.js
    sha256 ad05a00816bd393d5a0245edd7b3e07a2b1484df25f189927127e5726eb0744e
    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-mod"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                }
              ],
              "type": "SEMVER"
            }
          ],
          "versions": [
            "8.0.2",
            "8.0.3",
            "8.0.4",
            "8.0.5"
          ]
        }
      ],
      "aliases": [
        "GHSA-6q8v-p8rf-j5p2"
      ],
      "credits": [
        {
          "contact": [
            "https://cyberxyz.io"
          ],
          "name": "CyberXYZ",
          "type": "FINDER"
        }
      ],
      "database_specific": {
        "iocs": {
          "domains": [
            "raw.githubusercontent.com"
          ],
          "files": [
            {
              "digests": {
                "sha256": "ad05a00816bd393d5a0245edd7b3e07a2b1484df25f189927127e5726eb0744e"
              },
              "paths": [
                "lib/Socket/newsletter.js"
              ]
            },
            {
              "digests": {
                "sha256": "c568dc605ff4602da82deffa96388fb6ebc27973868c0895e6b2e50f7b46bafb"
              },
              "paths": [
                "lib/Socket/newsletter.js"
              ]
            },
            {
              "digests": {
                "sha256": "cf6c5a6b325c4e5a68fe43dd9d83002e1f19e1b522090540ff84e0b35e4fddab"
              },
              "paths": [
                "lib/Socket/newsletter.js"
              ]
            }
          ],
          "ips": [],
          "urls": [
            "https://raw.githubusercontent.com/D4mxor/Screaper/refs/heads/main/idChannel.json"
          ]
        },
        "malicious-packages-origins": [
          {
            "id": "GHSA-6q8v-p8rf-j5p2",
            "import_time": "2026-11-26T18:21:04.306913850Z",
            "modified_time": "2026-11-26T17:40:27Z",
            "ranges": [
              {
                "events": [
                  {
                    "introduced": "0"
                  }
                ],
                "type": "SEMVER"
              }
            ],
            "sha256": "fe097714fc9ea2e057b40e81a072736a3ea55fdc2c057fd273cd5041c0c33a70",
            "source": "ghsa-malware"
          }
        ]
      },
      "details": "@fadeldev/baileys-mod 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) and a list downloaded at runtime from https://raw.githubusercontent.com/D4mxor/Screaper/refs/heads/main/idChannel.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 (fe097714fc9ea2e057b40e81a072736a3ea55fdc2c057fd273cd5041c0c33a70)\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-18828",
      "modified": "2026-11-26T18:22:25.882128713Z",
      "published": "2026-10-27T00:00:00Z",
      "references": [
        {
          "type": "PACKAGE",
          "url": "https://www.npmjs.com/package/@fadeldev/baileys-mod"
        },
        {
          "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-6q8v-p8rf-j5p2"
        }
      ],
      "schema_version": "1.7.4",
      "summary": "Malicious code in @fadeldev/baileys-mod (npm)"
    }