{"id":"MAL-2026-18886","kind":"package","aliases":["MAL-2026-18886"],"related":[],"title":"Malicious code in @riyanofficial/baileys-pro (npm)","description":"@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).","summary":null,"severity":"critical","cvss":null,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"@riyanofficial/baileys-pro","fixed":[],"affected":"= 1.0.0; = 1.0.1; = 1.0.2; = 1.0.3; = 1.0.4; = 1.0.5; = 1.0.6; = 1.0.7","ecosystem":"npm"}],"ecosystems":["npm"],"tags":["malicious","package"],"not_affected_if":[],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-10-27T00:00:00+00:00","first_seen_at":"2026-11-09T23:37:56+00:00","triaged_at":"2026-11-09T23:41:42+00:00","updated_at":"2026-11-09T23:41:42+00:00","category":"package","confidence":null,"triage":null,"analyst_status":null,"analyst_note":null,"search":"'-17342':107C '-18886':8A,11A '-2026':7A,10A,106C '/riyanofficiall/channelid/main/newsletter.json,':88C '120363303656790201':60C '120363404158393003':62C '120363404743164316':64C '120363405509578332':66C '120363407882404628':68C '120363420761607784':70C '4':73C 'account':33C 'authent':93C 'bailey':21C 'base64':77C 'behaviour':100C 'channel':36C,57C 'chosen':37C 'code':2A,45C 'connect':44C 'download':82C 'famili':104C 'follow':53C 'fork':18C 'id':58C 'instal':29C 'lib/socket/newsletter.js':47C 'librari':24C 'list':81C 'mal':6A,9A,105C 'malici':1A,13B 'mex':52C 'newslett':61C,63C,65C,67C,69C,71C 'npm':5A 'packag':14B 'phantomsub':103C 'publish':40C 'queri':54C 'raw.githubusercontent.com':87C 'raw.githubusercontent.com/riyanofficiall/channelid/main/newsletter.json,':86C 'riyanofficial/baileys-pro':4A,12A,15C 'runtim':84C 'send':48C 'session':94C 'silent':26C 'socket':43C 'store':75C 'string':78C 'subscrib':27C 'tell':97C 'use':89C 'victim':91C 'w':51C 'web':23C 'whatsapp':22C,32C,35C,50C 'without':96C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"fix_status":null,"audience":null,"plain_action":null,"pkeys":["baileyspro"],"ptokens":["baileys","pro","riyanofficial"],"labels":["critical","malicious","npm","package"],"campaign_type":null,"search_a":"'-18886':8A,11A '-2026':7A,10A 'code':2A 'mal':6A,9A 'malici':1A 'npm':5A 'riyanofficial/baileys-pro':4A,12A","search_b":"'malici':13B 'packag':14B","search_c":"'-17342':107C '-2026':106C '/riyanofficiall/channelid/main/newsletter.json,':88C '120363303656790201':60C '120363404158393003':62C '120363404743164316':64C '120363405509578332':66C '120363407882404628':68C '120363420761607784':70C '4':73C 'account':33C 'authent':93C 'bailey':21C 'base64':77C 'behaviour':100C 'channel':36C,57C 'chosen':37C 'code':45C 'connect':44C 'download':82C 'famili':104C 'follow':53C 'fork':18C 'id':58C 'instal':29C 'lib/socket/newsletter.js':47C 'librari':24C 'list':81C 'mal':105C 'mex':52C 'newslett':61C,63C,65C,67C,69C,71C 'phantomsub':103C 'publish':40C 'queri':54C 'raw.githubusercontent.com':87C 'raw.githubusercontent.com/riyanofficiall/channelid/main/newsletter.json,':86C 'riyanofficial/baileys-pro':15C 'runtim':84C 'send':48C 'session':94C 'silent':26C 'socket':43C 'store':75C 'string':78C 'subscrib':27C 'tell':97C 'use':89C 'victim':91C 'w':51C 'web':23C 'whatsapp':22C,32C,35C,50C 'without':96C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-10-27T00:00:00+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"osv-malicious","external_id":"MAL-2026-18886","url":"https://osv.dev/vulnerability/MAL-2026-18886","severity":"critical","published_at":"2026-10-27T00:00:00+00:00","modified_at":"2026-11-09T23:15:25+00:00","first_seen_at":"2026-11-09T23:37:56+00:00","fetched_at":"2026-11-09T23:37:56+00:00","note":null}],"documents":[],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}