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 loadashjs (npm)

0
High
Published: 08/18/2026 (08/18/2026, 23:57:13 UTC)
Source: GCVE Database
Product: loadashjs

Description

The loadashjs package on npm is a typosquatting malicious package impersonating lodash. It exports an empty object but runs a postinstall script that sends system platform data to a hardcoded IP and downloads a malicious Windows executable from an unrelated GitHub account. The executable is saved to the temp directory and launched hidden. On WSL or virtualized Linux hosts, additional obfuscated scripts invoke the same payload via a Windows bridge. This package version 1.0.0 contains no legitimate lodash functionality and is designed to deliver and execute malware.

Affected software

npmghsa
loadashjs
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:51:08 UTC

Technical Analysis

loadashjs is a typosquatting npm package mimicking lodash but containing malicious code. Its index.js exports an empty object, while its postinstall.js script executes automatically on npm install. This script sends a JSON payload with platform information (including detection of WSL) to a hardcoded bare IP endpoint. It then XOR-decodes an obfuscated URL to download a Windows PE binary from a personal GitHub repository under an unpinned 'null' release tag. The binary is saved to the %TEMP% directory as main.exe and executed in a hidden, detached process. On WSL or virtualized Linux environments, additional XOR-obfuscated byte arrays are decoded and concatenated into a shell command to invoke the same Windows payload via a bridging mechanism. The package version 1.0.0 is affected and contains no legitimate lodash functionality, serving solely to deliver and execute malware.

Potential Impact

This malicious package can lead to arbitrary code execution on Windows systems where it is installed, as it downloads and runs a hidden executable from an untrusted source. The postinstall script also leaks system platform information to a remote attacker-controlled server. On WSL or virtualized Linux hosts, it uses additional obfuscated scripts to bridge and execute the Windows payload, potentially expanding the attack surface. The package does not provide any legitimate functionality and is designed to compromise the host system.

Mitigation Recommendations

No official patch or remediation is available for this malicious package. The best mitigation is to avoid installing loadashjs and similar typosquatting packages. Use verified lodash packages from trusted sources. Monitor npm dependencies for suspicious or unexpected packages. Remove any installations of loadashjs=1.0.0 and scan affected systems for the downloaded malware (main.exe) and related artifacts. Since this is a malicious package, remediation involves removal and incident response rather than patching.

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

Threat ID: 6a85b4caacd9273b49252e70

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

Last enriched: 08/19/2026, 14:51:08 UTC

Last updated: 08/19/2026, 14:51:08 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