Malicious code in yonzoffic-baileys (npm)
The npm package yonzoffic-baileys version 8.6.90 is a malicious fork of the Baileys WhatsApp Web library that injects code to silently subscribe the victim's WhatsApp account to attacker-controlled channels without user consent. The malicious code uses the installer's authenticated WhatsApp session to issue a covert FOLLOW query to subscribe to hidden WhatsApp Channel/Newsletter JIDs. The target JIDs are obfuscated or fetched dynamically, allowing attackers to change targets post-installation. This behavior does not steal credentials, establish persistence, or execute arbitrary code.
AI Analysis
Technical Summary
The yonzoffic-baileys package (version 8.6.90) is part of a large family of over 100 near-identical malicious forks of the Baileys WhatsApp Web library. These forks inject a covert channel-subscription action into the WhatsApp socket layer. Upon connection, the injected code issues an authenticated 'w:mex' FOLLOW query using the installer's own WhatsApp session to silently subscribe the victim's account to attacker-chosen WhatsApp Channel/Newsletter JIDs. The target JIDs are hidden using obfuscation techniques such as base64 encoding, XOR, or runtime reconstruction, or fetched dynamically from attacker-controlled remote sources. The malicious action abuses the authenticated session to gain subscribers for attacker channels but does not exfiltrate credentials, maintain persistence, or execute arbitrary remote code.
Potential Impact
The impact is limited to unauthorized subscription of the victim's WhatsApp account to attacker-controlled channels or newsletters. This could lead to spam, unwanted content, or potential social engineering via these channels. There is no credential theft, persistence, or remote code execution involved according to the available data.
Mitigation Recommendations
No official patch or remediation is indicated. Users should avoid installing or using the yonzoffic-baileys package version 8.6.90. Since this is a malicious package published on npm, users should verify package authenticity and source before installation. Removal of the package and revoking WhatsApp session tokens may mitigate ongoing unauthorized subscriptions. Monitor for suspicious channel subscriptions in the WhatsApp account and unsubscribe from unknown channels.
Malicious code in yonzoffic-baileys (npm)
Description
The npm package yonzoffic-baileys version 8.6.90 is a malicious fork of the Baileys WhatsApp Web library that injects code to silently subscribe the victim's WhatsApp account to attacker-controlled channels without user consent. The malicious code uses the installer's authenticated WhatsApp session to issue a covert FOLLOW query to subscribe to hidden WhatsApp Channel/Newsletter JIDs. The target JIDs are obfuscated or fetched dynamically, allowing attackers to change targets post-installation. This behavior does not steal credentials, establish persistence, or execute arbitrary code.
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 yonzoffic-baileys package (version 8.6.90) is part of a large family of over 100 near-identical malicious forks of the Baileys WhatsApp Web library. These forks inject a covert channel-subscription action into the WhatsApp socket layer. Upon connection, the injected code issues an authenticated 'w:mex' FOLLOW query using the installer's own WhatsApp session to silently subscribe the victim's account to attacker-chosen WhatsApp Channel/Newsletter JIDs. The target JIDs are hidden using obfuscation techniques such as base64 encoding, XOR, or runtime reconstruction, or fetched dynamically from attacker-controlled remote sources. The malicious action abuses the authenticated session to gain subscribers for attacker channels but does not exfiltrate credentials, maintain persistence, or execute arbitrary remote code.
Potential Impact
The impact is limited to unauthorized subscription of the victim's WhatsApp account to attacker-controlled channels or newsletters. This could lead to spam, unwanted content, or potential social engineering via these channels. There is no credential theft, persistence, or remote code execution involved according to the available data.
Mitigation Recommendations
No official patch or remediation is indicated. Users should avoid installing or using the yonzoffic-baileys package version 8.6.90. Since this is a malicious package published on npm, users should verify package authenticity and source before installation. Removal of the package and revoking WhatsApp session tokens may mitigate ongoing unauthorized subscriptions. Monitor for suspicious channel subscriptions in the WhatsApp account and unsubscribe from unknown channels.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17413
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6abd30842a4e24523d340111
Added to database: 09/30/2026, 15:53:40 UTC
Last enriched: 09/30/2026, 15:59:41 UTC
Last updated: 09/30/2026, 22:38:35 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.