{"id":"GHSA-fwfc-f4gp-qrcq","kind":"package","aliases":["GHSA-fwfc-f4gp-qrcq","MAL-2026-17933"],"related":[],"title":"Malicious code in zeroz-baileys (npm)","description":"---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7be2199641fd598bfa6c6a11fac2567fa0c50f3f55ae3a8e8cd9ecd6ec4bf20f)\nzeroz-baileys@1.0.1 appears to be a fork of the Baileys WhatsApp library. A static pattern matched on keyword co-occurrence in lib/Utils/messages-media.js (require('child_process'), https.request, hostname, POST) within a single file. This shape is expected for a media-handling utility in a WhatsApp library (media upload/download via HTTPS requests, optional native tool dispatch). Traced-code corroboration of installer-side harm was not established — no specific installer secret is named as read, and no non-first-party attacker-controlled destination is identified. Being a fork of a widely-used library, the package warrants human review to confirm whether the fork introduces covert behavior (e.g., using the installer's WhatsApp session for author-controlled actions) versus being a legitimate derivative.\n\n## Source: ghsa-malware (55c04838c571c7688a361345f76683eefc0e7b1da6719b53cef0285f55b7f99b)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.","summary":null,"severity":"critical","cvss":null,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"zeroz-baileys","fixed":[],"affected":"all versions","ecosystem":"npm"}],"ecosystems":["npm"],"tags":["malicious","package"],"not_affected_if":[],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-10-19T06:27:07+00:00","first_seen_at":"2026-10-29T14:54:44+00:00","triaged_at":"2026-10-29T14:55:09+00:00","updated_at":"2026-10-29T14:55:09+00:00","category":"package","confidence":null,"triage":null,"analyst_status":null,"analyst_note":null,"search":"'-17933':15A '-2026':14A '1.0.1':43C '55c04838c571c7688a361345f76683eefc0e7b1da6719b53cef0285f55b7f99b':173C '7be2199641fd598bfa6c6a11fac2567fa0c50f3f55ae3a8e8cd9ecd6ec4bf20f':39C 'action':163C 'amazon':37C 'amazon-inspector':36C 'appear':44C 'attack':125C 'attacker-control':124C 'author':161C 'author-control':160C 'bailey':6A,42C,51C 'baileys':23A 'behavior':151C 'child':66C 'co':61C 'co-occurr':60C 'code':2A,100C 'compromis':187C 'comput':175C,195C,203C,215C 'confirm':145C 'consid':185C 'control':126C,162C,212C 'corrobor':101C 'covert':150C 'deriv':168C 'destin':127C 'detail':28C 'differ':202C 'dispatch':97C 'e.g':152C 'edit':31C 'entiti':223C 'establish':109C 'expect':78C 'f4gp':11A,19A 'file':74C 'first':122C 'fork':48C,132C,148C 'full':211C 'fulli':186C 'fwfc':10A,18A 'ghsa':9A,17A,171C 'ghsa-fwfc-f4gp-qrcq':8A,16A 'ghsa-malwar':170C 'given':219C 'guarante':227C 'handl':83C 'harm':106C 'hostnam':69C 'https':92C 'https.request':68C 'human':142C 'identifi':129C 'immedi':199C 'inspector':38C 'instal':104C,112C,155C,180C,239C 'installer-sid':103C 'introduc':149C 'key':191C 'keyword':59C 'legitim':167C 'lib/utils/messages-media.js':64C 'librari':53C,88C,138C 'line':34C 'mal':13A 'malici':1A,24B,235C 'malwar':172C 'match':57C 'may':216C 'media':82C,89C 'media-handl':81C 'name':115C 'nativ':95C 'non':121C 'non-first-parti':120C 'npm':7A 'occurr':62C 'option':94C 'outsid':222C 'packag':25B,140C,179C,205C,231C 'parti':123C 'pattern':56C 'per':26C 'post':70C 'process':67C 'qrcq':12A,20A 'read':117C 'remov':208C,229C,233C 'request':93C 'requir':65C 'result':237C 'review':143C 'rotat':198C 'run':182C 'secret':113C,189C 'session':158C 'shape':76C 'side':105C 'singl':73C 'softwar':236C 'sourc':27C,35C,169C 'specif':111C 'static':55C 'store':192C 'tool':96C 'trace':99C 'traced-cod':98C 'upload/download':90C 'use':137C,153C 'util':84C 'versus':164C 'via':91C 'warrant':141C 'whatsapp':52C,87C,157C 'whether':146C 'wide':136C 'widely-us':135C 'within':71C 'zeroz':5A,22A,41C 'zeroz-bailey':4A,40C 'zeroz-baileys':21A","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"fix_status":null,"audience":null,"plain_action":null,"first_public_at":"2026-10-19T06:27:07+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"osv-malicious","external_id":"MAL-2026-17933","url":"https://osv.dev/vulnerability/MAL-2026-17933","severity":"critical","published_at":"2026-10-19T06:27:07+00:00","modified_at":"2026-10-29T14:30:34+00:00","first_seen_at":"2026-10-29T14:54:44+00:00","fetched_at":"2026-10-29T14:54:44+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}