PhantomSub npm Packages Enroll WhatsApp Accounts in Scam Channels
Supply Chain Risk · 6 sources · Updated 2mo ago · First seen Sep 28, 2026

Researchers identified PhantomSub, a coordinated npm supply-chain campaign in which 101 malicious packages abuse forks of Baileys, an unofficial WhatsApp API library. When developers authenticate WhatsApp through affected packages, the code silently subscribes their accounts to attacker-controlled groups or channels, sometimes muting them to avoid detection. The packages have accumulated about 490,000 downloads, including 116,000 in the prior 30 days, and many remained available as of September 28.
The packages retrieve target channel identifiers from GitHub-hosted lists or conceal them as plaintext, Base64-encoded, or otherwise obfuscated values. The operation appears designed to manufacture follower counts and social proof for channels promoting bot scripts, premium APKs, gaming resources, social-media boosting, and account sales, largely within an Indonesian-focused ecosystem. Shared channel IDs, GitHub infrastructure, and nearly identical package names indicate coordinated or overlapping operators; removals have not ended the threat because new variants continue to be published.
Why it matters
Impact assessment
PhantomSub exposes developers and organizations running WhatsApp automation bots to unauthorized modification of their authenticated WhatsApp account state. The campaign has substantial supply-chain reach: 101 malicious npm packages accumulated approximately 490,000 downloads, including 116,000 in the 30 days before 2026-09-28; most remained available on npm at reporting time.
- Affected population: Node.js developers, bot operators, and organizations that install third-party Baileys forks and link a WhatsApp user or bot account.
- Primary impact: silent enrollment into attacker-controlled WhatsApp groups, channels, or newsletters; channels may be muted afterward to conceal the action.
- Business risk: reputational harm from association with spam/scam channels, loss of control over enterprise-linked messaging identities, and abuse of bot outputs where forks inject advertising URLs into sent images and videos.
- Scope: widespread opportunistic exposure across the Baileys fork ecosystem, not targeted intrusion. New package variants and remotely controlled target lists allow the activity to persist after individual package removals.
- No credential theft, ransomware, or destructive payload is reported. The campaign instead abuses authenticated sessions to inflate channel follower counts and create social proof for bot scripts, premium APKs, gaming resources, account sales, and social-media boosting services.
Notable affected packages and entities
- Most-downloaded reported package:
ourin-baileyswith 130,589 installs. - Other reported packages:
@rixxcodex/baileys,@dappaoffc/baileys-mod,spencer-baileys@1.0.4,neuralwhatsapp,noxleyss,@noxleyss/baileys,levvleys,@fyxzpediaa/baileys,@modss/baileys,@sanzoffc/baileys, andkiyoramarkets. - The upstream
@whiskeysockets/baileyspackage is not alleged to be malicious; the exposure is in malicious forks and derivatives. - The oldest identified package,
alipclutch-baileys, was first published in October 2025.


