Skip to main content
Mallory
← Back to News
package-repository-poisoningcommand-and-control-methoddefense-evasion-methodcybercrime-service-ecosystem

PhantomSub npm Packages Enroll WhatsApp Accounts in Scam Channels

Supply Chain Risk · 6 sources · Updated 2mo ago · First seen Sep 28, 2026

PhantomSub npm Packages Enroll WhatsApp Accounts in Scam Channels

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-baileys with 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, and kiyoramarkets.
  • The upstream @whiskeysockets/baileys package 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.
Does this reach your builds?Trace attribution and downstream blast radius.
Trace the chain
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · Aug 2026 – Sep 2026
  1. Reported Sep 30, 20262mo ago

    OX Security details PhantomSub variants and download impact

    OX Security analyzed PhantomSub's 101 malicious npm packages and found approximately 490,000 cumulative downloads, including about 116,000 in the preceding 30 days. The researchers identified three variants that obtain attacker-controlled WhatsApp channel IDs remotely from GitHub or embed them in plaintext or encoded and obfuscated form.

    101 малициозни npm пакети ги додаваат WhatsApp профилите на програмерите во групи без нивна согласност | MKD-CIRT | Национален центар за одговор на компјутерски инциденти
  2. Reported Sep 28, 20262mo ago

    Researchers identify the 101-package PhantomSub campaign

    Researchers identified PhantomSub, a coordinated campaign comprising 101 malicious npm packages derived from or associated with the Baileys ecosystem. The packages silently add authenticated victim WhatsApp accounts to attacker-controlled groups or channels, with shared identifiers and infrastructure indicating overlapping operators or beneficiaries.

    PhantomSub: Malicious npm Campaign Hits WhatsApp Users
  3. Sep 2026

    Xygeni discloses malicious @dappaoffc/baileys-mod behavior

    Xygeni Security Research Team disclosed that @dappaoffc/baileys-mod subscribed an authenticated WhatsApp bot session to attacker-controlled newsletter channels.

    101 Malicious npm Packages Add Developers' WhatsApp Accounts to Groups Without Consent
  4. Aug 2026

    SafeDep reports malicious Baileys npm forks

    SafeDep reported that malicious npm forks of the Baileys WhatsApp library caused installers' WhatsApp accounts to follow attacker-controlled channels. It also found some forks inserted an author's advertising URL into bot-sent images and videos.

    101 Malicious npm Packages Add Developers' WhatsApp Accounts to Groups Without Consent
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Affected products

1 linked
Whatsapp

Observables

14 linked

Indicator values are masked on this page. View all 14 in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?See attribution and downstream blast radius, and whether this package or vendor reaches your builds.
Trace the Supply Chain
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.