Skip to main content

Malicious code in @fazzcodestudio/wa-web (npm)

0
High
Published: 10/12/2026 (10/12/2026, 15:42:19 UTC)
Source: GCVE Database
Product: @fazzcodestudio/wa-web

Description

The npm package @fazzcodestudio/wa-web, a fork of the Baileys WhatsApp Web library, contains malicious code that automatically uses the installer's authenticated WhatsApp session to subscribe the account to WhatsApp Channels chosen by the publisher without user consent. This behavior is enabled by default and undocumented, requiring manual configuration to disable. The package does not exfiltrate credentials or maintain persistence, but it covertly inflates channel subscribers using the victim's account. Versions 0.3.0 and 0.3.1 are affected.

Affected software

npmghsa
@fazzcodestudio/wa-web
Affected versions
=0.3.0=0.3.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/12/2026, 22:03:03 UTC

Technical Analysis

The @fazzcodestudio/wa-web npm package, a fork of the Baileys WhatsApp Web library, includes code that automatically subscribes the user's authenticated WhatsApp account to specific WhatsApp Channels controlled by the publisher. This is done by sending a raw WhatsApp 'w:mex' FOLLOW query with a hardcoded channel JID shortly after the connection is established. The feature is enabled by default via the 'autoFollowNewsletterOnConnect' setting, which is undocumented and must be manually disabled to prevent this behavior. Static analysis found no evidence of credential exfiltration or install-time payloads, and the malicious action occurs only when the WhatsApp socket is created. The affected versions are 0.3.0 and 0.3.1.

Potential Impact

The malicious code causes the victim's WhatsApp account to be covertly subscribed to channels chosen by the attacker, inflating subscriber counts without user knowledge or consent. While no credentials or session keys are sent off-host, this unauthorized use of the account violates user trust and could lead to reputational damage or unwanted content delivery. The package's presence indicates a compromised environment, and all secrets and keys on the affected system should be considered at risk.

Mitigation Recommendations

No official patch or fix is available. Users should immediately remove the @fazzcodestudio/wa-web package from their systems. Because the package grants the publisher covert control over the WhatsApp session, it is recommended to rotate all secrets and keys stored on the affected computer from a different, trusted device. Users should also audit their environment for additional compromise. To prevent this issue, avoid using untrusted forks of libraries and verify package integrity before installation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-17441
Osv Schema Version
1.7.4
Aliases
["GHSA-69w8-wg2c-rm67"]
Ecosystems
["npm"]

Threat ID: 6acd555f2cdf04f656da86ab

Added to database: 10/12/2026, 21:47:11 UTC

Last enriched: 10/12/2026, 22:03:03 UTC

Last updated: 10/13/2026, 01:48:08 UTC

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses