{"id":"MAL-2026-18693","kind":"package","aliases":["MAL-2026-18693"],"related":[],"title":"Malicious code in ruby-baileys (npm)","description":"ruby-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 src/Socket/index.js sends the WhatsApp w:mex FOLLOW query for channel invite codes 0029VbDO8tI2phHLTSN2ed0U, 0029VbDXYlKDJ6H1D7Dm0f13, 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":"ruby-baileys","fixed":[],"affected":"= 1.5.17; = 1.5.18","ecosystem":"npm"}],"ecosystems":["npm"],"tags":["malicious","package"],"not_affected_if":[],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-10-26T00:00:00+00:00","first_seen_at":"2026-11-05T06:31:46+00:00","triaged_at":"2026-11-05T06:34:53+00:00","updated_at":"2026-11-05T06:34:53+00:00","category":"package","confidence":null,"triage":null,"analyst_status":null,"analyst_note":null,"search":"'-17342':85C '-18693':10A,13A '-2026':9A,12A,84C '0029vbdo8ti2phhltsn2ed0u':65C '0029vbdxylkdj6h1d7dm0f13':66C 'account':39C 'authent':71C 'bailey':6A,21C,27C 'baileys':16A 'behaviour':78C 'channel':42C,62C 'chosen':43C 'code':2A,51C,64C 'connect':50C 'famili':82C 'follow':59C 'fork':24C 'instal':35C 'invit':63C 'librari':30C 'mal':8A,11A,83C 'malici':1A,17B 'mex':58C 'npm':7A 'packag':18B 'phantomsub':81C 'publish':46C 'queri':60C 'rubi':5A,20C 'ruby':15A 'ruby-bailey':4A,19C 'ruby-baileys':14A 'send':54C 'session':72C 'silent':32C 'socket':49C 'src/socket/index.js':53C 'subscrib':33C 'tell':75C 'use':67C 'victim':69C 'w':57C 'web':29C 'whatsapp':28C,38C,41C,56C 'without':74C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"fix_status":null,"audience":null,"plain_action":null,"pkeys":["rubybaileys"],"ptokens":["baileys","ruby"],"labels":["critical","malicious","npm","package"],"campaign_type":null,"first_public_at":"2026-10-26T00:00:00+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"osv-malicious","external_id":"MAL-2026-18693","url":"https://osv.dev/vulnerability/MAL-2026-18693","severity":"critical","published_at":"2026-10-26T00:00:00+00:00","modified_at":"2026-11-05T05:15:05+00:00","first_seen_at":"2026-11-05T06:31:46+00:00","fetched_at":"2026-11-05T06:31:46+00:00","note":null}],"documents":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}