{"id":"MAL-2026-18955","kind":"package","aliases":["MAL-2026-18955"],"related":[],"title":"Malicious code in casper-baileys (npm)","description":"casper-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) 120363322461279856@newsletter and a list downloaded at runtime from https://files.giftedtech.co.ke/file/chJids.json (the URL itself 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":"casper-baileys","fixed":[],"affected":"= 1.0.0; = 1.0.1; = 1.0.2; = 1.0.3; = 2.0.0; = 2.0.1","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:38:02+00:00","triaged_at":"2026-11-09T23:43:42+00:00","updated_at":"2026-11-09T23:43:42+00:00","category":"package","confidence":null,"triage":null,"analyst_status":null,"analyst_note":null,"search":"'-17342':103C '-18955':10A,13A '-2026':9A,12A,102C '/file/chjids.json':77C '120363322461279856':66C 'account':39C 'authent':89C 'bailey':6A,21C,27C 'baileys':16A 'base64':83C 'behaviour':96C 'casper':5A,15A,20C 'casper-bailey':4A,19C 'casper-baileys':14A 'channel':42C,63C 'chosen':43C 'code':2A,51C 'connect':50C 'download':71C 'famili':100C 'files.giftedtech.co.ke':76C 'files.giftedtech.co.ke/file/chjids.json':75C 'follow':59C 'fork':24C 'id':64C 'instal':35C 'lib/socket/newsletter.js':53C 'librari':30C 'list':70C 'mal':8A,11A,101C 'malici':1A,17B 'mex':58C 'newslett':67C 'npm':7A 'packag':18B 'phantomsub':99C 'publish':46C 'queri':60C 'runtim':73C 'send':54C 'session':90C 'silent':32C 'socket':49C 'store':81C 'string':84C 'subscrib':33C 'tell':93C 'url':79C 'use':85C 'victim':87C 'w':57C 'web':29C 'whatsapp':28C,38C,41C,56C 'without':92C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"fix_status":null,"audience":null,"plain_action":null,"pkeys":["casperbaileys"],"ptokens":["baileys","casper"],"labels":["critical","malicious","npm","package"],"campaign_type":null,"search_a":"'-18955':10A,13A '-2026':9A,12A 'bailey':6A 'baileys':16A 'casper':5A,15A 'casper-bailey':4A 'casper-baileys':14A 'code':2A 'mal':8A,11A 'malici':1A 'npm':7A","search_b":"'malici':17B 'packag':18B","search_c":"'-17342':103C '-2026':102C '/file/chjids.json':77C '120363322461279856':66C 'account':39C 'authent':89C 'bailey':21C,27C 'base64':83C 'behaviour':96C 'casper':20C 'casper-bailey':19C 'channel':42C,63C 'chosen':43C 'code':51C 'connect':50C 'download':71C 'famili':100C 'files.giftedtech.co.ke':76C 'files.giftedtech.co.ke/file/chjids.json':75C 'follow':59C 'fork':24C 'id':64C 'instal':35C 'lib/socket/newsletter.js':53C 'librari':30C 'list':70C 'mal':101C 'mex':58C 'newslett':67C 'phantomsub':99C 'publish':46C 'queri':60C 'runtim':73C 'send':54C 'session':90C 'silent':32C 'socket':49C 'store':81C 'string':84C 'subscrib':33C 'tell':93C 'url':79C 'use':85C 'victim':87C 'w':57C 'web':29C 'whatsapp':28C,38C,41C,56C 'without':92C","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-18955","url":"https://osv.dev/vulnerability/MAL-2026-18955","severity":"critical","published_at":"2026-10-27T00:00:00+00:00","modified_at":"2026-11-09T23:15:30+00:00","first_seen_at":"2026-11-09T23:38:02+00:00","fetched_at":"2026-11-09T23:38:02+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"}