{"id":"MAL-2026-18808","kind":"package","aliases":["MAL-2026-18808"],"related":[],"title":"Malicious code in @barz-dev/baileys (npm)","description":"@barz-dev/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) 120363371116852333@newsletter, 120363423484934199@newsletter, 120363425714950722@newsletter (some stored as base64 strings), 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":"@barz-dev/baileys","fixed":[],"affected":"= 8.4.0","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:51+00:00","triaged_at":"2026-11-09T23:39:36+00:00","updated_at":"2026-11-09T23:39:36+00:00","category":"package","confidence":null,"triage":null,"analyst_status":null,"analyst_note":null,"search":"'-17342':98C '-18808':11A,14A '-2026':10A,13A,97C '/baileys':7A,18A,24C '120363371116852333':69C '120363423484934199':71C '120363425714950722':73C 'account':42C 'authent':84C 'bailey':30C 'barz':5A,16A,22C 'barz-dev':4A,15A,21C 'base64':78C 'behaviour':91C 'channel':45C,66C 'chosen':46C 'code':2A,54C 'connect':53C 'dev':6A,17A,23C 'famili':95C 'follow':62C 'fork':27C 'id':67C 'instal':38C 'lib/socket/newsletter.js':56C 'librari':33C 'mal':9A,12A,96C 'malici':1A,19B 'mex':61C 'newslett':70C,72C,74C 'npm':8A 'packag':20B 'phantomsub':94C 'publish':49C 'queri':63C 'send':57C 'session':85C 'silent':35C 'socket':52C 'store':76C 'string':79C 'subscrib':36C 'tell':88C 'use':80C 'victim':82C 'w':60C 'web':32C 'whatsapp':31C,41C,44C,59C 'without':87C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"fix_status":null,"audience":null,"plain_action":null,"pkeys":["baileys"],"ptokens":["baileys","barz","dev"],"labels":["critical","malicious","npm","package"],"campaign_type":null,"search_a":"'-18808':11A,14A '-2026':10A,13A '/baileys':7A,18A 'barz':5A,16A 'barz-dev':4A,15A 'code':2A 'dev':6A,17A 'mal':9A,12A 'malici':1A 'npm':8A","search_b":"'malici':19B 'packag':20B","search_c":"'-17342':98C '-2026':97C '/baileys':24C '120363371116852333':69C '120363423484934199':71C '120363425714950722':73C 'account':42C 'authent':84C 'bailey':30C 'barz':22C 'barz-dev':21C 'base64':78C 'behaviour':91C 'channel':45C,66C 'chosen':46C 'code':54C 'connect':53C 'dev':23C 'famili':95C 'follow':62C 'fork':27C 'id':67C 'instal':38C 'lib/socket/newsletter.js':56C 'librari':33C 'mal':96C 'mex':61C 'newslett':70C,72C,74C 'phantomsub':94C 'publish':49C 'queri':63C 'send':57C 'session':85C 'silent':35C 'socket':52C 'store':76C 'string':79C 'subscrib':36C 'tell':88C 'use':80C 'victim':82C 'w':60C 'web':32C 'whatsapp':31C,41C,44C,59C 'without':87C","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-18808","url":"https://osv.dev/vulnerability/MAL-2026-18808","severity":"critical","published_at":"2026-10-27T00:00:00+00:00","modified_at":"2026-11-09T23:15:21+00:00","first_seen_at":"2026-11-09T23:37:51+00:00","fetched_at":"2026-11-09T23:37:51+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"}