lodahsjs (npm) · Malicious Code
Affects lodahsjsSource GCVE Database
Malicious package : remove lodahsjs and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:53 UTC
Malicious package
Published to npm · OSV MAL-2026-14181
What to do
Remove lodahsjs 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 |
|---|---|---|
| npmlodahsjs | 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 'lodahsjs' version 1.0.0 is a malicious typosquat of the legitimate 'lodash' package. It contains a postinstall script that performs hostile actions including sending system information to a hardcoded command-and-control server and downloading and executing a Windows binary from a suspicious GitHub release. The package has no legitimate functionality and is designed to deliver a malicious payload on Windows and Windows Subsystem for Linux (WSL) environments.