Malicious code in @zeronexcode/baileys (npm)
The @zeronexcode/baileys npm package version 7.0.0-zeronex.8 contains malicious code that causes the user's WhatsApp account to automatically follow a hardcoded channel (120363427099186895@newsletter) whenever a connection is opened. This behavior occurs without user consent and cannot be disabled.
AI Analysis
Technical Summary
The makeWASocket() function in lib/Socket/index.js of the @zeronexcode/baileys package (version 7.0.0-zeronex.8) includes malicious code that forces the user's WhatsApp account to follow a specific hardcoded channel upon connection establishment. This action is performed automatically and lacks an option for the user to opt out or disable it.
Potential Impact
Users of the affected package version have their WhatsApp accounts automatically subscribed to a specific channel without their consent. This could lead to unwanted content delivery or privacy concerns. There is no information about further exploitation or additional malicious actions beyond the forced subscription.
Mitigation Recommendations
No patch or remediation information is provided. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should avoid using the affected version (=7.0.0-zeronex.8) of the @zeronexcode/baileys package until an official fix or guidance is available.
Malicious code in @zeronexcode/baileys (npm)
Description
The @zeronexcode/baileys npm package version 7.0.0-zeronex.8 contains malicious code that causes the user's WhatsApp account to automatically follow a hardcoded channel (120363427099186895@newsletter) whenever a connection is opened. This behavior occurs without user consent and cannot be disabled.
Affected software
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
Technical Analysis
The makeWASocket() function in lib/Socket/index.js of the @zeronexcode/baileys package (version 7.0.0-zeronex.8) includes malicious code that forces the user's WhatsApp account to follow a specific hardcoded channel upon connection establishment. This action is performed automatically and lacks an option for the user to opt out or disable it.
Potential Impact
Users of the affected package version have their WhatsApp accounts automatically subscribed to a specific channel without their consent. This could lead to unwanted content delivery or privacy concerns. There is no information about further exploitation or additional malicious actions beyond the forced subscription.
Mitigation Recommendations
No patch or remediation information is provided. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should avoid using the affected version (=7.0.0-zeronex.8) of the @zeronexcode/baileys package until an official fix or guidance is available.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17326
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6abd30842a4e24523d3400bc
Added to database: 09/30/2026, 15:53:40 UTC
Last enriched: 09/30/2026, 15:59:17 UTC
Last updated: 09/30/2026, 15:59:17 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.