lodahs-cli (npm) · Malicious Code
Affects lodahs-cliSource GCVE Database
Malicious package : remove lodahs-cli and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:48 UTC
Malicious package
Published to npm · OSV MAL-2026-14180
What to do
Remove lodahs-cli from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmlodahs-cli | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'lodahs-cli' version 1.0.0 contains malicious code in its postinstall script. Upon installation, it sends a platform fingerprint to a hardcoded IP address, downloads and executes a malicious executable from a personal GitHub repository, and attempts to execute this payload on Windows hosts when running under Windows Subsystem for Linux (WSL). The package masquerades as a CLI tool but functions as a dropper with no legitimate source files matching its advertised purpose.