Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in lodahs-cli (npm)

0
High
Published: 08/18/2026 (08/18/2026, 23:59:29 UTC)
Source: GCVE Database
Product: lodahs-cli

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

npmghsa
lodahs-cli
Affected versions
=1.0.0

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

AILast updated: 08/19/2026, 14:48:25 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses