@skycodee/baileys-mod@8.0.10
Malicious code in @skycodee/baileys-mod (npm)
Analysis
@skycodee/baileys-mod@8.0.10 is a modified fork of the WhatsApp Web library @whiskeysockets/baileys (its description reads "WhatsApp API Modification By Skyzopedia" while its homepage and repository fields point at the upstream @whiskeysockets/baileys package page) that silently enrols the linking WhatsApp account into operator-controlled channels and stamps the victim's outgoing media with that channel's attribution. lib/Socket/newsletter.js contains an IIFE that runs when the socket module is loaded: inside an 80000 ms setTimeout it fetches hxxps://raw[.]githubusercontent[.]com/skyzopedia/Screaper/refs/heads/main/idChannel[.]json, parses the returned JSON array, and for every entry calls newsletterWMexQuery(i.id, QueryIds.FOLLOW) with a 5000 ms delay between each call — every linked account is subscribed to a remotely supplied channel list roughly 80 seconds after the module loads, with no user action and no configuration. lib/Utils/messages.js (prepareWAMessageMedia) injects a hardcoded newsletter contextInfo — newsletterJid 120363420249672073@newsletter, newsletterName "kyuu ilysm", contentType UPDATE — into every media message the client prepares, and lib/Socket/dugong.js injects forwardedNewsletterMessageInfo with newsletterJid 120363297591152843@newsletter and newsletterName "shenvn." into event messages it generates. Installation additionally pulls the operator's own packages: the `libsignal` dependency is aliased to npm:@skycodee/libsignal-mod and the tree pins @cacheable/node-cache ^1.4.0 and cache-manager 4.0.1; the package also declares a preinstall hook (node ./engine-requirements.js) that only checks for Node.js 20+. Stale editor `.bak` copies of lib/Defaults/index.js, lib/Socket/chats.js, lib/Utils/generics.js and lib/Utils/validate-connection.js are shipped in the tarball. IOCs: raw[.]githubusercontent[.]com/skyzopedia/Screaper/refs/heads/main/idChannel.json ; newsletter JIDs 120363420249672073@newsletter ("kyuu ilysm") and 120363297591152843@newsletter ("shenvn.").
- analyzed by
- Leitwacht
- first seen
- Nov 10, 2026, 12:06 AM
- analyzed
- Nov 10, 2026, 12:11 AM
Related advisories
- @skycodee/baileys-mod@8.0.8 same package
- @skycodee/baileys@8.0.9
- @skycodee/baileys@8.0.8
- @skycodee/baileys@8.0.15
- @vinzsocket/baileys@3.3.1
- @xsat10/baileys@7.0.2
- amiudmodz@6.1.2
- @langitdeveloper/baileys@2.2.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.