{"id":"MAL-2026-18819","kind":"package","aliases":["MAL-2026-18819"],"related":[],"title":"Malicious code in @devil-fight/baileys (npm)","description":"@devil-fight/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) 120363389012094856@newsletter, 120363423890054787@newsletter (stored as base64 strings) and a list downloaded at runtime from https://raw.githubusercontent.com/VinzzOfficial/Baileys/main/WAProto/id-channel/idch.json, https://raw.githubusercontent.com/VinzzOfficial/Baileys/main/WAProto/id-channel/idgc.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":"@devil-fight/baileys","fixed":[],"affected":"= 1.0.0; = 1.0.1; = 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: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':108C '-18819':11A,14A '-2026':10A,13A,107C '/baileys':7A,18A,24C '/vinzzofficial/baileys/main/waproto/id-channel/idch.json,':86C '/vinzzofficial/baileys/main/waproto/id-channel/idgc.json,':89C '120363389012094856':69C '120363423890054787':71C 'account':42C 'authent':94C 'bailey':30C 'base64':75C 'behaviour':101C 'channel':45C,66C 'chosen':46C 'code':2A,54C 'connect':53C 'devil':5A,16A,22C 'devil-fight':4A,15A,21C 'download':80C 'famili':105C 'fight':6A,17A,23C 'follow':62C 'fork':27C 'id':67C 'instal':38C 'lib/socket/newsletter.js':56C 'librari':33C 'list':79C 'mal':9A,12A,106C 'malici':1A,19B 'mex':61C 'newslett':70C,72C 'npm':8A 'packag':20B 'phantomsub':104C 'publish':49C 'queri':63C 'raw.githubusercontent.com':85C,88C 'raw.githubusercontent.com/vinzzofficial/baileys/main/waproto/id-channel/idch.json,':84C 'raw.githubusercontent.com/vinzzofficial/baileys/main/waproto/id-channel/idgc.json,':87C 'runtim':82C 'send':57C 'session':95C 'silent':35C 'socket':52C 'store':73C 'string':76C 'subscrib':36C 'tell':98C 'use':90C 'victim':92C 'w':60C 'web':32C 'whatsapp':31C,41C,44C,59C 'without':97C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"fix_status":null,"audience":null,"plain_action":null,"pkeys":["baileys"],"ptokens":["baileys","devil","fight"],"labels":["critical","malicious","npm","package"],"campaign_type":null,"search_a":"'-18819':11A,14A '-2026':10A,13A '/baileys':7A,18A 'code':2A 'devil':5A,16A 'devil-fight':4A,15A 'fight':6A,17A 'mal':9A,12A 'malici':1A 'npm':8A","search_b":"'malici':19B 'packag':20B","search_c":"'-17342':108C '-2026':107C '/baileys':24C '/vinzzofficial/baileys/main/waproto/id-channel/idch.json,':86C '/vinzzofficial/baileys/main/waproto/id-channel/idgc.json,':89C '120363389012094856':69C '120363423890054787':71C 'account':42C 'authent':94C 'bailey':30C 'base64':75C 'behaviour':101C 'channel':45C,66C 'chosen':46C 'code':54C 'connect':53C 'devil':22C 'devil-fight':21C 'download':80C 'famili':105C 'fight':23C 'follow':62C 'fork':27C 'id':67C 'instal':38C 'lib/socket/newsletter.js':56C 'librari':33C 'list':79C 'mal':106C 'mex':61C 'newslett':70C,72C 'phantomsub':104C 'publish':49C 'queri':63C 'raw.githubusercontent.com':85C,88C 'raw.githubusercontent.com/vinzzofficial/baileys/main/waproto/id-channel/idch.json,':84C 'raw.githubusercontent.com/vinzzofficial/baileys/main/waproto/id-channel/idgc.json,':87C 'runtim':82C 'send':57C 'session':95C 'silent':35C 'socket':52C 'store':73C 'string':76C 'subscrib':36C 'tell':98C 'use':90C 'victim':92C 'w':60C 'web':32C 'whatsapp':31C,41C,44C,59C 'without':97C","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-18819","url":"https://osv.dev/vulnerability/MAL-2026-18819","severity":"critical","published_at":"2026-10-27T00:00:00+00:00","modified_at":"2026-11-09T23:15:20+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"}