{"id":"MAL-2026-16483","kind":"package","aliases":["MAL-2026-16483"],"related":[],"title":"Malicious code in @rixxcodex/baileys (npm)","description":"Versions 9.0.0, 9.0.1 and 9.0.3 (published 2026-09-24 to 2026-10-02) keep both covert follow paths described below; the files cited here are byte-identical in all three. lib/Utils/messages-media.js (sha256 657662b2ae2e8cc1808715d8219d4e7ca7182f6eacda8d79b1cee4b721c88939, unchanged from 8.2.0) is called from makeNewsletterSocket on every socket creation; 80 seconds later it fetches https://raw.githubusercontent.com/skyzopedia/Screaper/refs/heads/main/idChannel.json (stored base64) and sends QueryIds.FOLLOW for each id. lib/Socket/socket.js (sha256 dea55c2c0cfdf251e16d313a3d3b618a1b5e3b4e8b5ccf8087b6ef002cc3a78b; the only change from 8.2.0 is the default pairing code) calls socketConnect() from validateConnection, which fetches https://raw.github.com/skyzopedia/NewsletterID/refs/heads/main/VIP_Push.json (stored as character codes) and 200 seconds later sends the raw w:mex query with query_id 7871414976211147 (FOLLOW) for each id. Errors are swallowed and the user is not told. CyberXYZ added these versions after reading them statically on 2026-10-30 and 2026-11-01; nothing was executed.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (58b5247e2f10d09b51e8d59c4b36cb2cbe62909af4be588fdb07dabf0afabcf2)\nThis package is a fork of the Baileys WhatsApp library that adds three undocumented channels which use the installer's authenticated WhatsApp session to perform account actions chosen by the author at runtime. In lib/Socket/socket.js around line 334, a base64-encoded URL decodes to https://raw.githubusercontent.com/skyzopedia/Screaper/refs/heads/main/idChannel.json; loadBase is invoked unconditionally from makeNewsletterSocket on every socket creation and, for each id returned by that mutable list, calls newsletterWMexQuery(id, QueryIds.FOLLOW) on the connected account. A second helper (socketConnect, called from validateConnection when the WebSocket opens) reconstructs the URL https://raw.githubusercontent.com/skyzopedia/NewsletterID/refs/heads/main/VIP_Push.json from a numeric char-code array (String.fromCharCode(...)) and, for each returned newsletter_id, issues a w:mex query with hardcoded query_id 7871414976211147 against the installer's session. A third helper, generateMessageV, is exposed on the socket API and, after a 40 second delay, invokes its callback with a hardcoded @newsletter JID obfuscated as a base64 blob XORed with the constant 23, again paired with query_id 7871414976211147. None of these behaviors are described in the README, and both remote lists are runtime-mutable by the author. In addition, package.json declares the cryptographic dependency \"@rixxcodex/libsignal\": \"github:RixxCode/libsignal\" with no tag or commit SHA, so npm install resolves whatever HEAD of that repository currently contains and executes it inside the Signal session-encryption path with no integrity check.","summary":null,"severity":"critical","cvss":null,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"@rixxcodex/baileys","fixed":[],"affected":"= 8.1.0; = 8.2.0; = 8.0.16; = 8.0.15; = 9.0.3; = 9.0.0; = 9.0.1","ecosystem":"npm"}],"ecosystems":["npm"],"tags":["malicious","package"],"not_affected_if":[],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-09-23T22:12:59+00:00","first_seen_at":"2026-11-10T01:26:39+00:00","triaged_at":"2026-11-10T01:30:10+00:00","updated_at":"2026-11-10T01:30:10+00:00","category":"package","confidence":null,"triage":null,"analyst_status":null,"analyst_note":null,"search":"'-01':144C '-02':27C '-09':22C '-10':26C,139C '-11':143C '-16483':8A,11A '-2026':7A,10A '-24':23C '-30':140C '/skyzopedia/newsletterid/refs/heads/main/vip_push.json':97C,253C '/skyzopedia/screaper/refs/heads/main/idchannel.json':67C '/skyzopedia/screaper/refs/heads/main/idchannel.json;':209C '200':103C '2026':21C,25C,138C,142C '23':316C '334':199C '40':296C '58b5247e2f10d09b51e8d59c4b36cb2cbe62909af4be588fdb07dabf0afabcf2':161C '657662b2ae2e8cc1808715d8219d4e7ca7182f6eacda8d79b1cee4b721c88939':48C '7871414976211147':115C,277C,322C '8.2.0':51C,83C '80':60C '9.0.0':16C '9.0.1':17C '9.0.3':19C 'account':187C,236C 'action':188C 'add':130C,173C 'addit':344C 'amazon':159C 'amazon-inspector':158C 'api':292C 'around':197C 'array':260C 'authent':182C 'author':192C,342C 'bailey':169C 'base64':69C,202C,310C 'base64-encoded':201C 'behavior':326C 'blob':311C 'byte':41C 'byte-ident':40C 'call':53C,89C,229C,241C 'callback':301C 'chang':81C 'channel':176C 'char':258C 'char-cod':257C 'charact':100C 'check':383C 'chosen':189C 'cite':37C 'code':2A,88C,101C,259C 'commit':357C 'connect':235C 'constant':315C 'contain':369C 'covert':30C 'creation':59C,219C 'cryptograph':348C 'current':368C 'cyberxyz':129C 'dea55c2c0cfdf251e16d313a3d3b618a1b5e3b4e8b5ccf8087b6ef002cc3a78b':78C 'declar':346C 'decod':205C 'default':86C 'delay':298C 'depend':349C 'describ':33C,328C 'detail':150C 'edit':153C 'encod':203C 'encrypt':378C 'error':120C 'everi':57C,217C 'execut':147C,371C 'expos':288C 'fetch':64C,94C 'file':36C 'follow':31C,116C 'fork':166C 'generatemessagev':286C 'github':351C 'hardcod':274C,304C 'head':364C 'helper':239C,285C 'id':75C,114C,119C,223C,231C,267C,276C,321C 'ident':42C 'insid':373C 'inspector':160C 'instal':180C,280C,361C 'integr':382C 'invok':212C,299C 'issu':268C 'jid':306C 'keep':28C 'later':62C,105C 'lib/socket/socket.js':76C,196C 'lib/utils/messages-media.js':46C 'librari':171C 'line':156C,198C 'list':228C,335C 'loadbas':210C 'makenewslettersocket':55C,215C 'mal':6A,9A 'malici':1A,13B 'mex':110C,271C 'mutabl':227C,339C 'newslett':266C,305C 'newsletterwmexqueri':230C 'none':323C 'noth':145C 'npm':5A,360C 'numer':256C 'obfusc':307C 'open':247C 'packag':14B,163C 'package.json':345C 'pair':87C,318C 'path':32C,379C 'per':148C 'perform':186C 'publish':20C 'queri':111C,113C,272C,275C,320C 'queryids.follow':72C,232C 'raw':108C 'raw.github.com':96C 'raw.github.com/skyzopedia/newsletterid/refs/heads/main/vip_push.json':95C 'raw.githubusercontent.com':66C,208C,252C 'raw.githubusercontent.com/skyzopedia/newsletterid/refs/heads/main/vip_push.json':251C 'raw.githubusercontent.com/skyzopedia/screaper/refs/heads/main/idchannel.json':65C 'raw.githubusercontent.com/skyzopedia/screaper/refs/heads/main/idchannel.json;':207C 'read':134C 'readm':331C 'reconstruct':248C 'remot':334C 'repositori':367C 'resolv':362C 'return':224C,265C 'rixxcode/libsignal':352C 'rixxcodex/baileys':4A,12A 'rixxcodex/libsignal':350C 'runtim':194C,338C 'runtime-mut':337C 'second':61C,104C,238C,297C 'send':71C,106C 'session':184C,282C,377C 'session-encrypt':376C 'sha':358C 'sha256':47C,77C 'signal':375C 'socket':58C,218C,291C 'socketconnect':90C,240C 'sourc':149C,157C 'static':136C 'store':68C,98C 'string.fromcharcode':261C 'swallow':122C 'tag':355C 'third':284C 'three':45C,174C 'told':128C 'unchang':49C 'uncondit':213C 'undocu':175C 'url':204C,250C 'use':178C 'user':125C 'validateconnect':92C,243C 'version':15C,132C 'w':109C,270C 'websocket':246C 'whatev':363C 'whatsapp':170C,183C 'xore':312C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"fix_status":null,"audience":null,"plain_action":null,"pkeys":["baileys"],"ptokens":["baileys","rixxcodex"],"labels":["critical","malicious","npm","package"],"campaign_type":null,"search_a":"'-16483':8A,11A '-2026':7A,10A 'code':2A 'mal':6A,9A 'malici':1A 'npm':5A 'rixxcodex/baileys':4A,12A","search_b":"'malici':13B 'packag':14B","search_c":"'-01':144C '-02':27C '-09':22C '-10':26C,139C '-11':143C '-24':23C '-30':140C '/skyzopedia/newsletterid/refs/heads/main/vip_push.json':97C,253C '/skyzopedia/screaper/refs/heads/main/idchannel.json':67C '/skyzopedia/screaper/refs/heads/main/idchannel.json;':209C '200':103C '2026':21C,25C,138C,142C '23':316C '334':199C '40':296C '58b5247e2f10d09b51e8d59c4b36cb2cbe62909af4be588fdb07dabf0afabcf2':161C '657662b2ae2e8cc1808715d8219d4e7ca7182f6eacda8d79b1cee4b721c88939':48C '7871414976211147':115C,277C,322C '8.2.0':51C,83C '80':60C '9.0.0':16C '9.0.1':17C '9.0.3':19C 'account':187C,236C 'action':188C 'add':130C,173C 'addit':344C 'amazon':159C 'amazon-inspector':158C 'api':292C 'around':197C 'array':260C 'authent':182C 'author':192C,342C 'bailey':169C 'base64':69C,202C,310C 'base64-encoded':201C 'behavior':326C 'blob':311C 'byte':41C 'byte-ident':40C 'call':53C,89C,229C,241C 'callback':301C 'chang':81C 'channel':176C 'char':258C 'char-cod':257C 'charact':100C 'check':383C 'chosen':189C 'cite':37C 'code':88C,101C,259C 'commit':357C 'connect':235C 'constant':315C 'contain':369C 'covert':30C 'creation':59C,219C 'cryptograph':348C 'current':368C 'cyberxyz':129C 'dea55c2c0cfdf251e16d313a3d3b618a1b5e3b4e8b5ccf8087b6ef002cc3a78b':78C 'declar':346C 'decod':205C 'default':86C 'delay':298C 'depend':349C 'describ':33C,328C 'detail':150C 'edit':153C 'encod':203C 'encrypt':378C 'error':120C 'everi':57C,217C 'execut':147C,371C 'expos':288C 'fetch':64C,94C 'file':36C 'follow':31C,116C 'fork':166C 'generatemessagev':286C 'github':351C 'hardcod':274C,304C 'head':364C 'helper':239C,285C 'id':75C,114C,119C,223C,231C,267C,276C,321C 'ident':42C 'insid':373C 'inspector':160C 'instal':180C,280C,361C 'integr':382C 'invok':212C,299C 'issu':268C 'jid':306C 'keep':28C 'later':62C,105C 'lib/socket/socket.js':76C,196C 'lib/utils/messages-media.js':46C 'librari':171C 'line':156C,198C 'list':228C,335C 'loadbas':210C 'makenewslettersocket':55C,215C 'mex':110C,271C 'mutabl':227C,339C 'newslett':266C,305C 'newsletterwmexqueri':230C 'none':323C 'noth':145C 'npm':360C 'numer':256C 'obfusc':307C 'open':247C 'packag':163C 'package.json':345C 'pair':87C,318C 'path':32C,379C 'per':148C 'perform':186C 'publish':20C 'queri':111C,113C,272C,275C,320C 'queryids.follow':72C,232C 'raw':108C 'raw.github.com':96C 'raw.github.com/skyzopedia/newsletterid/refs/heads/main/vip_push.json':95C 'raw.githubusercontent.com':66C,208C,252C 'raw.githubusercontent.com/skyzopedia/newsletterid/refs/heads/main/vip_push.json':251C 'raw.githubusercontent.com/skyzopedia/screaper/refs/heads/main/idchannel.json':65C 'raw.githubusercontent.com/skyzopedia/screaper/refs/heads/main/idchannel.json;':207C 'read':134C 'readm':331C 'reconstruct':248C 'remot':334C 'repositori':367C 'resolv':362C 'return':224C,265C 'rixxcode/libsignal':352C 'rixxcodex/libsignal':350C 'runtim':194C,338C 'runtime-mut':337C 'second':61C,104C,238C,297C 'send':71C,106C 'session':184C,282C,377C 'session-encrypt':376C 'sha':358C 'sha256':47C,77C 'signal':375C 'socket':58C,218C,291C 'socketconnect':90C,240C 'sourc':149C,157C 'static':136C 'store':68C,98C 'string.fromcharcode':261C 'swallow':122C 'tag':355C 'third':284C 'three':45C,174C 'told':128C 'unchang':49C 'uncondit':213C 'undocu':175C 'url':204C,250C 'use':178C 'user':125C 'validateconnect':92C,243C 'version':15C,132C 'w':109C,270C 'websocket':246C 'whatev':363C 'whatsapp':170C,183C 'xore':312C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-09-23T22:12:59+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"osv-malicious","external_id":"MAL-2026-16483","url":"https://osv.dev/vulnerability/MAL-2026-16483","severity":"critical","published_at":"2026-09-23T22:12:59+00:00","modified_at":"2026-11-10T00:30:03+00:00","first_seen_at":"2026-11-10T01:26:39+00:00","fetched_at":"2026-11-10T01:26:39+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"}