{"id":"MAL-2026-18886","summary":"Malicious code in @riyanofficial/baileys-pro (npm)","details":"@riyanofficial/baileys-pro is a fork of the Baileys WhatsApp Web library that silently subscribes the installer's own WhatsApp account to WhatsApp Channels chosen by the publisher. When the socket connects, code in lib/Socket/newsletter.js sends the WhatsApp w:mex FOLLOW query for the channel ID(s) 120363303656790201@newsletter, 120363404158393003@newsletter, 120363404743164316@newsletter, 120363405509578332@newsletter, 120363407882404628@newsletter, 120363420761607784@newsletter and 4 more (stored as base64 strings) and a list downloaded at runtime from https://raw.githubusercontent.com/RiyanOfficiall/ChannelID/main/newsletter.json, using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).","modified":"2026-11-09T23:15:25.217919784Z","published":"2026-10-27T00:00:00Z","database_specific":{"iocs":{"files":[{"digests":{"sha256":"03e71ca3fd50d7e3755ec44b9a9449393c5447b31ae1b82588a0119b6f9d7494"},"paths":["lib/Socket/newsletter.js"]},{"digests":{"sha256":"43c2b3f02a5cb48b0fa33c42499f98ce3bec6bbc5a14135393f9e156e5892c79"},"paths":["lib/Socket/newsletter.js"]},{"digests":{"sha256":"617f7cf007bb8f7e59e2f0285506394ffbed7cad39b1a1d7ee4b59673b0213d2"},"paths":["lib/Socket/newsletter.js"]},{"digests":{"sha256":"832a0b502e6ca04c4554fb7d031c06d7deea11d2c454891f0f89597379d98602"},"paths":["lib/Socket/newsletter.js"]},{"paths":["lib/Socket/newsletter.js"],"digests":{"sha256":"ab682d306c5e2f7fdbfa681300b0ff604be90fc0e2887aa9c290a7532dbf3d93"}},{"digests":{"sha256":"e3231d92352413376ae94ecf5ae8667dd1c063a799f918b250040d21eee8e2be"},"paths":["lib/Socket/newsletter.js"]}],"ips":[],"urls":["https://raw.githubusercontent.com/RiyanOfficiall/ChannelID/main/newsletter.json"],"domains":["raw.githubusercontent.com"]}},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@riyanofficial/baileys-pro"},{"type":"WEB","url":"https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"}],"affected":[{"package":{"name":"@riyanofficial/baileys-pro","ecosystem":"npm","purl":"pkg:npm/%40riyanofficial/baileys-pro"},"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@riyanofficial/baileys-pro/MAL-2026-18886.json"}}],"schema_version":"1.9.2","credits":[{"name":"CyberXYZ","contact":["https://cyberxyz.io"],"type":"FINDER"}]}