Malware in lodash-ex
Malware discovered in the npm package lodash-ex. Systems with this package installed are considered fully compromised and require immediate remediation.
- Disclosed
- Last updated
- Blast radius
- Any system with lodash-ex installed or running
- Ecosystems
- Attack vectors
- Affected entities
- lodash-ex
A malware-containing version of the npm package lodash-ex has been identified and published to the npm registry. The GitHub Security Advisory (GHSA-x8qf-9h8v-gm9x) indicates that any computer with this package installed or running should be considered fully compromised.\n\nThe advisory recommends that all secrets and keys stored on affected computers be rotated immediately from a different, uncompromised system. While the package should be removed, the advisory notes that full control of the computer may have been given to an outside entity, meaning removal of the package alone may not eliminate all malicious software that resulted from the installation.\n\nThis is a critical supply chain incident affecting the npm ecosystem, with potential for widespread impact given the popularity of lodash-like utilities in JavaScript projects.
Indicators of compromise
- Packages
- lodash-ex
Remediation
- Immediately remove the lodash-ex package from all affected systems
- Rotate all secrets, API keys, and credentials from a clean, uncompromised computer
- Perform a full security audit and malware scan of any system that had lodash-ex installed
- Review system logs and network traffic for signs of unauthorized access or data exfiltration
- Consider the affected system(s) as potentially fully compromised and plan for complete rebuild if critical infrastructure
- Check npm audit logs and dependency trees to identify all projects that may have installed this package
Sources
- GitHub Advisory GHSA-x8qf-9h8v-gm9x · GitHub Advisory Database
Cite this entry
"Malware in lodash-ex." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 30, 2026; last updated July 30, 2026. https://supplychainattack.org/incident/malware-in-lodash-ex-1t366v
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- resolvedcritical
Malicious code in sme-rko-finance-front-operations-special-payments (npm)
The npm package sme-rko-finance-front-operations-special-payments contained malicious code that downloads and executes platform-specific binaries from attacker-controlled infrastructure upon require(). The package employed obfuscation techniques to evade static analysis and included dual dropper paths in both index.js and lib/telemetry.js.
npmCompromised package - activecritical
Malware in bnpl-blocks-desktop-bnpl-anchor-title
Malware discovered in the npm package bnpl-blocks-desktop-bnpl-anchor-title. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package - containedcritical
Malicious code in sme-rko-finance-front-operations-notifications-models (npm)
The npm package sme-rko-finance-front-operations-notifications-models contained malicious code that acts as a native-binary dropper, downloading and executing platform-specific binaries from attacker-controlled Cloudflare Workers domains and DNS fallback servers upon package require.
npmCompromised package - resolvedcritical
Malicious code in sme-rko-finance-front-operations-penalty (npm)
The npm package sme-rko-finance-front-operations-penalty contained malicious code that downloads and executes platform-specific binaries on require(). The dropper uses obfuscated string concatenation and DNS fallback channels to retrieve payloads from attacker-controlled infrastructure.
npmCompromised package