MAL-2026-14180

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

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

Source: amazon-inspector (15cec128c194761de8cd73923062ece7e4104b5e6130ca40882c5ac9d3f83914)

The postinstall lifecycle script in scripts/postinstall.js executes automatically on npm install and performs three attacker-benefiting actions. First, it POSTs a platform fingerprint as JSON to a hardcoded bare-IP endpoint at http://193.70.34.101:20099/vote (host assembled from a split array to hide the literal), acting as an install-time beacon. Second, it XOR-decodes (key 'stf2026') a hidden URL that resolves to https://github.com/beb1raz1/qPzM50V1AKG0rVlH/releases/download/null/main.exe — an unrelated personal GitHub account with an obfuscated repository name — downloads main.exe to %TEMP%, and spawns it detached. Third, when /proc/version indicates WSL, installAddonViaBridge() concatenates additional XOR-decoded segments into a shell command passed to child_process.exec with windowsHide:true, crossing the WSL boundary to fetch and execute the same.exe on the Windows host. The package name resembles a reversal of 'shadol'/'lodash' but the shipped code is a dropper rather than any CLI; there are no source files matching the advertised purpose.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-19T00:21:13.291138674Z",
            "sha256": "15cec128c194761de8cd73923062ece7e4104b5e6130ca40882c5ac9d3f83914",
            "modified_time": "2026-08-18T23:59:29Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-018252",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / lodahs-cli

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/lodahs-cli/MAL-2026-14180.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "556cda792565c82a343042df9e7fed49a4ff6dc2709a2c8bc472bf2d78b30369",
            "tlsh": "81d13fca1ef59035874bf96884cf9d13b2a6c207320e4a65ff8f42107f5793c85a69e9",
            "path": "scripts/postinstall.js"
        }
    ],
    "package_integrity": [
        {
            "filename": "lodahs-cli-1.0.0.tgz",
            "hashes": {
                "sha1": "8bc42bcda01a134742619ad3f9fefd4fbee4f095",
                "sha512_sri": "sha512-5WEotRuU3qCkuMGzaw9CTqJbg2glatQYS2yZmBGAoTn8Z3vM8MH7BzBsn9xvs82/S1WCX5eCGmALwoX8eoWzZw=="
            }
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]