{"id":"GHSA-7727-99j6-9x2v","kind":"package","aliases":["GHSA-7727-99j6-9x2v","MAL-2026-19957"],"related":[],"title":"Malicious code in elaina-baileys (npm)","description":"---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (366ab3f7b886b50e134b5b59463d36e3109761400089c51865825dbe7e347606)\npackage.json declares the core runtime dependency `libsignal` as an npm alias to a third-party scoped package pinned to the mutable `latest` tag: \"libsignal\": \"npm:@otaxayun/libsignal-node@latest\". The upstream Baileys library uses the standard libsignal-node implementation; this fork redirects resolution to the `@otaxayun` scope with no version pin and no integrity hash. Every `npm install` of elaina-baileys resolves that alias and installs whatever bytes @otaxayun/libsignal-node currently publishes, running any lifecycle scripts shipped in that tarball on the installer's machine. Control of the delivered code sits entirely with whoever owns the @otaxayun scope and can be changed at any time without any update to elaina-baileys itself.\n\n## Source: ghsa-malware (24c66d36220f23944cbbaf0e0121785afc3c7efbb9314c0c6e7bf99e33377089)\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":"elaina-baileys","fixed":[],"affected":"= 1.0.3; = 1.0.2; = 1.0.1; = 1.0.0; = 0.0.0-stage","ecosystem":"npm"}],"ecosystems":["npm"],"tags":["malicious","package"],"not_affected_if":[],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-11-16T15:26:44+00:00","first_seen_at":"2026-11-16T17:36:19+00:00","triaged_at":"2026-11-16T17:36:29+00:00","updated_at":"2026-11-16T23:37:17+00:00","category":"package","confidence":null,"triage":null,"analyst_status":null,"analyst_note":null,"search":"'-19957':16A '-2026':15A '-7727':9A,18A '-99':10A,19A '24c66d36220f23944cbbaf0e0121785afc3c7efbb9314c0c6e7bf99e33377089':159C '366ab3f7b886b50e134b5b59463d36e3109761400089c51865825dbe7e347606':41C '9x2v':13A,22A 'alia':52C,106C 'amazon':39C 'amazon-inspector':38C 'bailey':6A,72C,103C,153C 'baileys':25A 'byte':110C 'chang':143C 'code':2A,131C 'compromis':173C 'comput':161C,181C,189C,201C 'consid':171C 'control':127C,198C 'core':45C 'current':112C 'declar':43C 'deliv':130C 'depend':47C 'detail':30C 'differ':188C 'edit':33C 'elaina':5A,24A,102C,152C 'elaina-bailey':4A,101C,151C 'elaina-baileys':23A 'entir':133C 'entiti':209C 'everi':97C 'fork':82C 'full':197C 'fulli':172C 'ghsa':8A,17A,157C 'ghsa-malwar':156C 'given':205C 'guarante':213C 'hash':96C 'immedi':185C 'implement':80C 'inspector':40C 'instal':99C,108C,124C,166C,225C 'integr':95C 'j6':12A,21A 'j6-9x2v':11A,20A 'key':177C 'latest':64C,69C 'librari':73C 'libsign':48C,66C,78C 'libsignal-nod':77C 'lifecycl':116C 'line':36C 'machin':126C 'mal':14A 'malici':1A,26B,221C 'malwar':158C 'may':202C 'mutabl':63C 'node':79C 'npm':7A,51C,67C,98C 'otaxayun':87C,138C 'otaxayun/libsignal-node':68C,111C 'outsid':208C 'own':136C 'packag':27B,59C,165C,191C,217C 'package.json':42C 'parti':57C 'per':28C 'pin':60C,92C 'publish':113C 'redirect':83C 'remov':194C,215C,219C 'resolut':84C 'resolv':104C 'result':223C 'rotat':184C 'run':114C,168C 'runtim':46C 'scope':58C,88C,139C 'script':117C 'secret':175C 'ship':118C 'sit':132C 'softwar':222C 'sourc':29C,37C,155C 'standard':76C 'store':178C 'tag':65C 'tarbal':121C 'third':56C 'third-parti':55C 'time':146C 'updat':149C 'upstream':71C 'use':74C 'version':91C 'whatev':109C 'whoever':135C 'without':147C","nicknames":[],"mitigations":[],"who_affected":null,"tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":null,"audience":null,"plain_action":null,"pkeys":["elainabaileys"],"ptokens":["baileys","elaina"],"labels":["critical","malicious","npm","package"],"campaign_type":null,"search_a":"'-19957':16A '-2026':15A '-7727':9A,18A '-99':10A,19A '9x2v':13A,22A 'bailey':6A 'baileys':25A 'code':2A 'elaina':5A,24A 'elaina-bailey':4A 'elaina-baileys':23A 'ghsa':8A,17A 'j6':12A,21A 'j6-9x2v':11A,20A 'mal':14A 'malici':1A 'npm':7A","search_b":"'malici':26B 'packag':27B","search_c":"'24c66d36220f23944cbbaf0e0121785afc3c7efbb9314c0c6e7bf99e33377089':159C '366ab3f7b886b50e134b5b59463d36e3109761400089c51865825dbe7e347606':41C 'alia':52C,106C 'amazon':39C 'amazon-inspector':38C 'bailey':72C,103C,153C 'byte':110C 'chang':143C 'code':131C 'compromis':173C 'comput':161C,181C,189C,201C 'consid':171C 'control':127C,198C 'core':45C 'current':112C 'declar':43C 'deliv':130C 'depend':47C 'detail':30C 'differ':188C 'edit':33C 'elaina':102C,152C 'elaina-bailey':101C,151C 'entir':133C 'entiti':209C 'everi':97C 'fork':82C 'full':197C 'fulli':172C 'ghsa':157C 'ghsa-malwar':156C 'given':205C 'guarante':213C 'hash':96C 'immedi':185C 'implement':80C 'inspector':40C 'instal':99C,108C,124C,166C,225C 'integr':95C 'key':177C 'latest':64C,69C 'librari':73C 'libsign':48C,66C,78C 'libsignal-nod':77C 'lifecycl':116C 'line':36C 'machin':126C 'malici':221C 'malwar':158C 'may':202C 'mutabl':63C 'node':79C 'npm':51C,67C,98C 'otaxayun':87C,138C 'otaxayun/libsignal-node':68C,111C 'outsid':208C 'own':136C 'packag':59C,165C,191C,217C 'package.json':42C 'parti':57C 'per':28C 'pin':60C,92C 'publish':113C 'redirect':83C 'remov':194C,215C,219C 'resolut':84C 'resolv':104C 'result':223C 'rotat':184C 'run':114C,168C 'runtim':46C 'scope':58C,88C,139C 'script':117C 'secret':175C 'ship':118C 'sit':132C 'softwar':222C 'sourc':29C,37C,155C 'standard':76C 'store':178C 'tag':65C 'tarbal':121C 'third':56C 'third-parti':55C 'time':146C 'updat':149C 'upstream':71C 'use':74C 'version':91C 'whatev':109C 'whoever':135C 'without':147C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T15:26:44+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"osv-malicious","external_id":"MAL-2026-19957","url":"https://osv.dev/vulnerability/MAL-2026-19957","severity":"critical","published_at":"2026-11-16T15:26:44+00:00","modified_at":"2026-11-16T22:45:05+00:00","first_seen_at":"2026-11-16T17:36:19+00:00","fetched_at":"2026-11-16T23:37:17+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"}