Malicious code in lodahs-cli (npm)
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.
AI Analysis
Technical Summary
The 'lodahs-cli' npm package (version 1.0.0) includes a postinstall lifecycle script that performs multiple malicious actions automatically during installation. It first sends a JSON-formatted platform fingerprint to a hardcoded IP address (http://193.70.34.101:20099/vote) as an install-time beacon. Then, it XOR-decodes a hidden URL pointing to a GitHub repository hosting a malicious executable (main.exe), downloads this executable to the temporary directory, and spawns it detached. Additionally, if the environment is detected as Windows Subsystem for Linux (WSL), it executes a shell command crossing the WSL boundary to run the same executable on the Windows host. The package name is crafted to resemble legitimate packages but is a malicious dropper rather than a functional CLI tool.
Potential Impact
This malicious package can compromise systems by executing unauthorized code downloaded from an attacker-controlled GitHub repository. It collects system information and potentially executes malware on both Linux (including WSL) and Windows environments, leading to unauthorized remote code execution and system compromise.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package. Users and administrators should avoid installing 'lodahs-cli' version 1.0.0. Remove the package if already installed and scan affected systems for the downloaded executable and any spawned processes. Monitor for network connections to the indicated IP address and GitHub URL. Use trusted sources and verify package authenticity before installation.
Malicious code in lodahs-cli (npm)
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.
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 'lodahs-cli' npm package (version 1.0.0) includes a postinstall lifecycle script that performs multiple malicious actions automatically during installation. It first sends a JSON-formatted platform fingerprint to a hardcoded IP address (http://193.70.34.101:20099/vote) as an install-time beacon. Then, it XOR-decodes a hidden URL pointing to a GitHub repository hosting a malicious executable (main.exe), downloads this executable to the temporary directory, and spawns it detached. Additionally, if the environment is detected as Windows Subsystem for Linux (WSL), it executes a shell command crossing the WSL boundary to run the same executable on the Windows host. The package name is crafted to resemble legitimate packages but is a malicious dropper rather than a functional CLI tool.
Potential Impact
This malicious package can compromise systems by executing unauthorized code downloaded from an attacker-controlled GitHub repository. It collects system information and potentially executes malware on both Linux (including WSL) and Windows environments, leading to unauthorized remote code execution and system compromise.
Defensive Guidance
No official patch or remediation is currently documented for this malicious package. Users and administrators should avoid installing 'lodahs-cli' version 1.0.0. Remove the package if already installed and scan affected systems for the downloaded executable and any spawned processes. Monitor for network connections to the indicated IP address and GitHub URL. Use trusted sources and verify package authenticity before installation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14180
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a85b4caacd9273b49252ba9
Added to database: 08/19/2026, 13:51:06 UTC
Last enriched: 08/19/2026, 14:48:25 UTC
Last updated: 08/19/2026, 22:48:38 UTC
Views: 6
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.