Malicious code in lodash-lib (npm)
Description
The lodash-lib package version 1.0.0 on npm is a malicious typosquatting package. It exports an empty object but executes a postinstall script that decodes and sends platform information to a hardcoded IP address, then downloads and runs an unverified executable from a GitHub repository unrelated to the package author. This behavior includes bridging execution to Windows hosts on WSL environments. No official patch or remediation guidance is available.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The [email protected] package is a malicious npm typosquatting package that contains no legitimate functionality in its main export but runs a postinstall script. This script XOR-decodes a URL and PowerShell command, sends the installer's platform label to a hardcoded IP endpoint (http://193.70.34.101:20099/vote), downloads an executable from an unrelated GitHub repository (https://github.com/bebraz1/qPzM50V1AKG0rVlH/releases/download/null/main.exe) to the temporary directory, and executes it detached with ignored stdio. On Windows Subsystem for Linux (WSL), it uses a decoded PowerShell command to bridge execution to the Windows host. The executable is unpinned and unsigned, and the package uses misleading naming to disguise its malicious intent.
Potential Impact
Installation of [email protected] results in execution of malicious code that can download and run arbitrary binaries on the host system, potentially leading to full system compromise. The postinstall script exfiltrates platform information to a remote server and executes an untrusted executable without verification, increasing risk of malware infection and persistence. The bridging to Windows hosts on WSL environments expands the attack surface to Windows systems.
Mitigation Recommendations
No official patch or remediation guidance is provided. Users should avoid installing [email protected] as it is a malicious typosquatting package. Verify package authenticity before installation, prefer official lodash packages, and remove any installations of [email protected]. Monitor for unexpected postinstall script activity and network connections to suspicious IP addresses. Patch status is not yet confirmed — check the vendor advisory or trusted sources for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14182
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a85b4caacd9273b49252baf
Added to database: 08/19/2026, 13:51:06 UTC
Last enriched: 08/19/2026, 14:49:04 UTC
Last updated: 10/02/2026, 13:52:50 UTC
Views: 25
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.