MAL-2026-14184

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/lodsh-cli/MAL-2026-14184.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14184
Published
2026-08-18T23:59:48Z
Modified
2026-08-19T00:30:16.343713482Z
Summary
Malicious code in lodsh-cli (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (2803016f5b10510cdb31304197a1670396290e9be96fe647fd6c505d1f487273)

lodsh-cli is a typosquat of lodash-cli. Its scripts/postinstall.js runs automatically on npm install and performs two hostile actions. First, it XOR-decodes a hardcoded URL (key 'stf2026') stored as an integer array, downloads a Windows executable to %TEMP%/main.exe (and on WSL runs a decoded PowerShell/cmd bridge command), and spawns the binary detached — arbitrary remote code execution on the installer's machine. Second, it POSTs platform information to a hardcoded bare IP 193.70.34.101:20099/vote, with the host assembled from a string-split array to hide the literal, serving as an install beacon and target selector. URLs, launcher commands, and script fragments are stored as XOR-encoded byte arrays and decoded at runtime to evade static inspection.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-19T00:21:13.528453648Z",
            "sha256": "2803016f5b10510cdb31304197a1670396290e9be96fe647fd6c505d1f487273",
            "modified_time": "2026-08-18T23:59:48Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-018254",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / lodsh-cli

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/lodsh-cli/MAL-2026-14184.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "dbf71345b53850ffcdabfb93ab845bf80709a74331492b4d1d031062feeb95d0",
            "tlsh": "47d13fca1ef59035874bf96884cf9d13b2a6c207320e4a65ff8f42107f5793c85a69e9",
            "path": "scripts/postinstall.js"
        }
    ],
    "package_integrity": [
        {
            "filename": "lodsh-cli-1.0.0.tgz",
            "hashes": {
                "sha1": "96c7534fc1bb52b3a429531514a57ffed9de6430",
                "sha512_sri": "sha512-n20UI9x56TMN3L6l2HzH8T2xN+s0snMieBn9wQV3Qwlp6cLRDqHZ2E40kLYaJzQzqh3Ts3CmrbFv79/KWX83Rw=="
            }
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]