{"id":"MAL-2026-18976","kind":"package","aliases":["MAL-2026-18976"],"related":[],"title":"Malicious code in gifted-baileys (npm)","description":"gifted-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 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":"gifted-baileys","fixed":[],"affected":"= 2.0.5; = 2.0.6; = 2.5.7; = 2.5.8","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:03+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':96C '-18976':10A,13A '-2026':9A,12A,95C '/file/chjids.json':70C 'account':39C 'authent':82C 'bailey':6A,21C,27C 'baileys':16A 'base64':76C 'behaviour':89C 'channel':42C 'chosen':43C 'code':2A,51C 'connect':50C 'download':64C 'famili':93C 'files.giftedtech.co.ke':69C 'files.giftedtech.co.ke/file/chjids.json':68C 'follow':59C 'fork':24C 'gift':5A,20C 'gifted':15A 'gifted-bailey':4A,19C 'gifted-baileys':14A 'instal':35C 'lib/socket/newsletter.js':53C 'librari':30C 'list':63C 'mal':8A,11A,94C 'malici':1A,17B 'mex':58C 'npm':7A 'packag':18B 'phantomsub':92C 'publish':46C 'queri':60C 'runtim':66C 'send':54C 'session':83C 'silent':32C 'socket':49C 'store':74C 'string':77C 'subscrib':33C 'tell':86C 'url':72C 'use':78C 'victim':80C 'w':57C 'web':29C 'whatsapp':28C,38C,41C,56C 'without':85C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"fix_status":null,"audience":null,"plain_action":null,"pkeys":["giftedbaileys"],"ptokens":["baileys","gifted"],"labels":["critical","malicious","npm","package"],"campaign_type":null,"search_a":"'-18976':10A,13A '-2026':9A,12A 'bailey':6A 'baileys':16A 'code':2A 'gift':5A 'gifted':15A 'gifted-bailey':4A 'gifted-baileys':14A 'mal':8A,11A 'malici':1A 'npm':7A","search_b":"'malici':17B 'packag':18B","search_c":"'-17342':96C '-2026':95C '/file/chjids.json':70C 'account':39C 'authent':82C 'bailey':21C,27C 'base64':76C 'behaviour':89C 'channel':42C 'chosen':43C 'code':51C 'connect':50C 'download':64C 'famili':93C 'files.giftedtech.co.ke':69C 'files.giftedtech.co.ke/file/chjids.json':68C 'follow':59C 'fork':24C 'gift':20C 'gifted-bailey':19C 'instal':35C 'lib/socket/newsletter.js':53C 'librari':30C 'list':63C 'mal':94C 'mex':58C 'phantomsub':92C 'publish':46C 'queri':60C 'runtim':66C 'send':54C 'session':83C 'silent':32C 'socket':49C 'store':74C 'string':77C 'subscrib':33C 'tell':86C 'url':72C 'use':78C 'victim':80C 'w':57C 'web':29C 'whatsapp':28C,38C,41C,56C 'without':85C","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-18976","url":"https://osv.dev/vulnerability/MAL-2026-18976","severity":"critical","published_at":"2026-10-27T00:00:00+00:00","modified_at":"2026-11-09T23:15:31+00:00","first_seen_at":"2026-11-09T23:38:03+00:00","fetched_at":"2026-11-09T23:38:03+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"}