{
  "affected": [
    {
      "database_specific": {
        "cwes": [
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          }
        ],
        "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/aemeath-baileys/MAL-2026-18685.json"
      },
      "package": {
        "ecosystem": "npm",
        "name": "aemeath-baileys",
        "purl": "pkg:npm/aemeath-baileys"
      },
      "versions": [
        "1.1.13"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "https://cyberxyz.io"
      ],
      "name": "CyberXYZ",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "iocs": {
      "domains": [],
      "files": [
        {
          "digests": {
            "sha256": "30f9b68d846b2add825cce6d2551aaf02ea64107b1de8f26aa08cf781925219d"
          },
          "paths": [
            "lib/Socket/newsletter.js"
          ]
        },
        {
          "digests": {
            "sha256": "8233ef6dce8ee165c827908412a3fa4333e94b1719ccd6d1803fa47c304dd8e0"
          },
          "paths": [
            "lib/autofollow-newsletters.js"
          ]
        }
      ],
      "ips": [],
      "urls": []
    }
  },
  "details": "aemeath-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, lib/autofollow-newsletters.js sends the WhatsApp w:mex FOLLOW query and then MUTE, so the channel goes unnoticed, for the channel ID(s) 120363410056240594@newsletter, 120363412837402275@newsletter, 120363417661721059@newsletter, using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).",
  "id": "MAL-2026-18685",
  "modified": "2026-11-05T05:15:04.111494637Z",
  "published": "2026-10-26T00:00:00Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/aemeath-baileys"
    },
    {
      "type": "WEB",
      "url": "https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "Malicious code in aemeath-baileys (npm)"
}