Malicious code in levvleys (npm)
The levvleys npm package, part of a large family of Baileys WhatsApp Web library forks, contains malicious code that silently subscribes the victim's WhatsApp account to attacker-controlled channels using the victim's authenticated session. This covert subscription occurs via an injected FOLLOW query after connecting to WhatsApp, with target channels obfuscated or dynamically fetched. The malicious code does not exfiltrate credentials, establish persistence, or execute arbitrary remote code.
AI Analysis
Technical Summary
The levvleys package versions 2.1.0, 2.0.26, 2.0.25, 2.0.24, 2.0.23, 2.0.22, 2.0.21, 2.0.20, 2.0.19, 2.0.18, 2.0.17, 2.0.16, 2.0.13, 2.0.12, 2.0.11, 2.0.10, 2.0.9, 2.0.8, 2.0.6, and 2.0.4 are part of a family of malicious Baileys WhatsApp Web library forks that inject code into the WhatsApp socket layer. This code issues an authenticated FOLLOW query (w:mex) to attacker-chosen WhatsApp Channel/Newsletter JIDs using the installer's own authenticated WhatsApp session, silently subscribing the victim's account to these channels. The target JIDs are obfuscated or dynamically fetched at runtime, allowing attackers to change targets without republishing the package. The malicious action abuses the victim's session to gain subscribers but does not steal credentials, maintain persistence, or run arbitrary code.
Potential Impact
Victims unknowingly subscribe their WhatsApp accounts to attacker-controlled channels or newsletters, potentially exposing them to unwanted content or spam. The attack leverages the victim's authenticated WhatsApp session but does not compromise credentials, establish persistence, or enable remote code execution.
Mitigation Recommendations
No official patch or remediation is indicated in the provided data. Users should avoid installing or using affected versions of the levvleys package. Review and remove any suspicious subscriptions in WhatsApp. Monitor for updates or advisories from the package maintainers or npm regarding fixes or removals. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for current remediation guidance.
Malicious code in levvleys (npm)
Description
The levvleys npm package, part of a large family of Baileys WhatsApp Web library forks, contains malicious code that silently subscribes the victim's WhatsApp account to attacker-controlled channels using the victim's authenticated session. This covert subscription occurs via an injected FOLLOW query after connecting to WhatsApp, with target channels obfuscated or dynamically fetched. The malicious code does not exfiltrate credentials, establish persistence, or execute arbitrary remote 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 levvleys package versions 2.1.0, 2.0.26, 2.0.25, 2.0.24, 2.0.23, 2.0.22, 2.0.21, 2.0.20, 2.0.19, 2.0.18, 2.0.17, 2.0.16, 2.0.13, 2.0.12, 2.0.11, 2.0.10, 2.0.9, 2.0.8, 2.0.6, and 2.0.4 are part of a family of malicious Baileys WhatsApp Web library forks that inject code into the WhatsApp socket layer. This code issues an authenticated FOLLOW query (w:mex) to attacker-chosen WhatsApp Channel/Newsletter JIDs using the installer's own authenticated WhatsApp session, silently subscribing the victim's account to these channels. The target JIDs are obfuscated or dynamically fetched at runtime, allowing attackers to change targets without republishing the package. The malicious action abuses the victim's session to gain subscribers but does not steal credentials, maintain persistence, or run arbitrary code.
Potential Impact
Victims unknowingly subscribe their WhatsApp accounts to attacker-controlled channels or newsletters, potentially exposing them to unwanted content or spam. The attack leverages the victim's authenticated WhatsApp session but does not compromise credentials, establish persistence, or enable remote code execution.
Mitigation Recommendations
No official patch or remediation is indicated in the provided data. Users should avoid installing or using affected versions of the levvleys package. Review and remove any suspicious subscriptions in WhatsApp. Monitor for updates or advisories from the package maintainers or npm regarding fixes or removals. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17397
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6abd30852a4e24523d340121
Added to database: 09/30/2026, 15:53:41 UTC
Last enriched: 09/30/2026, 16:01:38 UTC
Last updated: 09/30/2026, 22:40:45 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.