@ikyybella/baileys@1.0.0
Malicious code in @ikyybella/baileys (npm)
Analysis
This package republishes the Baileys WhatsApp Web library under the @ikyybella scope with the upstream name intact and adds a hidden installer-independent action to it. lib/Socket/newsletter.js contains an injected, unguarded 90-second setTimeout inside the newsletter socket factory that fires on every connection and issues a WhatsApp "w:mex" query with QueryIds.FOLLOW against the hardcoded channel JID 120363425000320171@newsletter — silently subscribing the linked WhatsApp account to that channel, with errors swallowed and no API call or user consent. lib/Socket/luxu.js additionally hardcodes forwardedNewsletterMessageInfo channel JIDs (120363421563597486@newsletter, 120363399602691477@newsletter) and the channel name "Ikyy" onto outgoing eventMessage and poll messages, so messages sent through this fork inherit forced channel attribution. The package declares a dependency on cache-manager ^7.2.8, a version range that resolves to a release of that otherwise-legitimate caching library which has been separately identified as malicious, so installing this package alongside those libraries pulls the compromised build into the dependency tree. The preinstall hook engine-requirements.js only checks the Node.js major version. The fork contains no credential, token, .npmrc or environment-variable reads and no file exfiltration; all hardcoded network destinations are web[.]whatsapp[.]com, call[.]whatsapp[.]com, wa[.]me and raw[.]githubusercontent[.]com.
- analyzed by
- Leitwacht
- first seen
- Nov 15, 2026, 09:12 AM
- analyzed
- Nov 15, 2026, 09:14 AM
Related advisories
- u-paging@0.0.0
- @kyynotdevv/baileys@2.0.4
- dapzsyz-baileysm@0.4.2
- @hanzzy/baileys-mod@8.0.2
- amiudmodz@4.1.2
- testpackage83@1.0.0
- @green-such-thumb/syspeek@1.0.1
- sol-wallet-adapater@1.0.2
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.