Skip to main content

Malicious code in lodsh-cli (npm)

0
Critical
Published: 08/18/2026 (08/18/2026, 23:59:48 UTC)
Source: GCVE Database
Product: lodsh-cli

Description

lodsh-cli is a malicious npm package that impersonates lodash-cli. Its postinstall.js script executes automatically upon installation, performing two hostile actions: it downloads and runs a Windows executable on the victim machine enabling arbitrary remote code execution, and it sends platform information to a hardcoded IP address as an install beacon and target selector. The package uses XOR-encoded byte arrays to hide URLs and commands, evading static detection. Only version 1.0.0 is known to be affected.

Affected software

npmghsa
lodsh-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:47:52 UTC

Technical Analysis

The npm package lodsh-cli is a typosquatting malicious package targeting users intending to install lodash-cli. Upon installation, its postinstall.js script XOR-decodes a hardcoded URL, downloads a Windows executable to the temporary directory, and executes it detached from the installer process, enabling arbitrary remote code execution on the victim's machine. Additionally, it sends platform information via a POST request to a hardcoded IP address (193.70.34.101:20099/vote), which acts as an install beacon and potentially a target selector. The package obfuscates URLs and commands using XOR-encoded integer arrays decoded at runtime to evade static analysis. This threat affects exactly version 1.0.0 of lodsh-cli.

Potential Impact

Successful installation of lodsh-cli version 1.0.0 results in arbitrary remote code execution on the installer's machine, allowing an attacker to run malicious Windows executables without user consent. The package also leaks platform information to a remote server, potentially enabling targeted attacks. This compromises system integrity and confidentiality.

Mitigation Recommendations

No official patch or remediation is currently documented for lodsh-cli. Users and administrators should avoid installing lodsh-cli, especially version 1.0.0, and verify package names carefully to avoid typosquatting attacks. Use trusted sources and package integrity verification methods. Monitor for and remove any installations of lodsh-cli 1.0.0. Patch status is not yet confirmed — check vendor advisories or npm security advisories for updates.

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-14184
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a85b4caacd9273b49252ba5

Added to database: 08/19/2026, 13:51:06 UTC

Last enriched: 08/19/2026, 14:47:52 UTC

Last updated: 10/02/2026, 13:52:47 UTC

Views: 23

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