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 @lodash-js/lodash-js (npm)

0
High
Published: 08/14/2026 (08/14/2026, 20:02:21 UTC)
Source: GCVE Database
Product: @lodash-js/lodash-js

Description

The npm package @lodash-js/lodash-js is a malicious package impersonating the popular lodash library. Instead of providing lodash functionality, it contains a cryptocurrency miner that runs in the browser, using visitors' CPU resources to mine Xelis cryptocurrency. The miner fetches its mining pool and wallet configuration dynamically from a cloud-hosted endpoint controlled by the attacker, allowing flexible redirection of mining rewards. It also collects the visitor's public IP address. Any project that installs this package expecting lodash will inadvertently deploy a cryptojacking script to end users.

Affected software

npmghsa
@lodash-js/lodash-js
Affected versions
=0.1.0=0.2.0=0.3.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/15/2026, 05:43:02 UTC

Technical Analysis

The @lodash-js/lodash-js npm package is a malicious package masquerading as the legitimate lodash library. Its main entry point is a JavaScript bundle that auto-instantiates a Xelis cryptocurrency miner web worker in the browser. The miner's configuration, including mining pool and wallet addresses, is dynamically fetched at runtime from an attacker-controlled Cloudflare Workers endpoint, enabling the attacker to rotate destinations. Additionally, the package collects the visitor's public IP address via an external API. The package metadata misleadingly references lodash but actually only delivers the miner functionality. Installing this package results in browser-based cryptojacking on end users.

Potential Impact

Users or applications that install @lodash-js/lodash-js expecting lodash will unknowingly deploy a browser cryptojacker to their end users. This causes unauthorized use of visitors' CPU resources and electricity to mine cryptocurrency for the attacker. The dynamic configuration endpoint allows the attacker to control mining destinations and potentially evade detection. The package also collects visitor IP addresses, which may have privacy implications. There is no indication of direct code execution or data theft beyond cryptojacking and IP collection.

Defensive Guidance

No official patch or remediation is available for this malicious package. The best mitigation is to avoid installing or using @lodash-js/lodash-js, especially since it is a known malicious impersonation of lodash. Users should verify package names carefully and prefer official lodash packages from trusted sources. If this package is found in any project, it should be removed immediately and replaced with the legitimate lodash package. Monitor dependencies for similarly named or suspicious packages to prevent supply chain compromise.

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-14048
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a7ff5f4bf8831d53987f5e7

Added to database: 08/15/2026, 05:15:32 UTC

Last enriched: 08/15/2026, 05:43:02 UTC

Last updated: 08/15/2026, 05:43:02 UTC

Views: 2

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