{"id":"MAL-2026-18866","kind":"package","aliases":["MAL-2026-18866"],"related":[],"title":"Malicious code in @ms-nicky/baileys (npm)","description":"@ms-nicky/baileys 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) 120363424730928081@newsletter, 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":"@ms-nicky/baileys","fixed":[],"affected":"= 2.0.3; = 2.0.4","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:53+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':89C '-18866':11A,14A '-2026':10A,13A,88C '/baileys':7A,18A,24C '120363424730928081':69C 'account':42C 'authent':75C 'bailey':30C 'behaviour':82C 'channel':45C,66C 'chosen':46C 'code':2A,54C 'connect':53C 'famili':86C 'follow':62C 'fork':27C 'id':67C 'instal':38C 'lib/socket/newsletter.js':56C 'librari':33C 'mal':9A,12A,87C 'malici':1A,19B 'mex':61C 'ms':5A,16A,22C 'ms-nicki':4A,21C 'ms-nicky':15A 'newslett':70C 'nicki':6A,23C 'nicky':17A 'npm':8A 'packag':20B 'phantomsub':85C 'publish':49C 'queri':63C 'send':57C 'session':76C 'silent':35C 'socket':52C 'subscrib':36C 'tell':79C 'use':71C 'victim':73C 'w':60C 'web':32C 'whatsapp':31C,41C,44C,59C 'without':78C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"fix_status":null,"audience":null,"plain_action":null,"pkeys":["baileys"],"ptokens":["baileys","ms","nicky"],"labels":["critical","malicious","npm","package"],"campaign_type":null,"search_a":"'-18866':11A,14A '-2026':10A,13A '/baileys':7A,18A 'code':2A 'mal':9A,12A 'malici':1A 'ms':5A,16A 'ms-nicki':4A 'ms-nicky':15A 'nicki':6A 'nicky':17A 'npm':8A","search_b":"'malici':19B 'packag':20B","search_c":"'-17342':89C '-2026':88C '/baileys':24C '120363424730928081':69C 'account':42C 'authent':75C 'bailey':30C 'behaviour':82C 'channel':45C,66C 'chosen':46C 'code':54C 'connect':53C 'famili':86C 'follow':62C 'fork':27C 'id':67C 'instal':38C 'lib/socket/newsletter.js':56C 'librari':33C 'mal':87C 'mex':61C 'ms':22C 'ms-nicki':21C 'newslett':70C 'nicki':23C 'phantomsub':85C 'publish':49C 'queri':63C 'send':57C 'session':76C 'silent':35C 'socket':52C 'subscrib':36C 'tell':79C 'use':71C 'victim':73C 'w':60C 'web':32C 'whatsapp':31C,41C,44C,59C 'without':78C","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-18866","url":"https://osv.dev/vulnerability/MAL-2026-18866","severity":"critical","published_at":"2026-10-27T00:00:00+00:00","modified_at":"2026-11-09T23:15:22+00:00","first_seen_at":"2026-11-09T23:37:53+00:00","fetched_at":"2026-11-09T23:37:53+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"}