Embedded Malicious Code in eslint-config-prettier
CVE-2025-54313 is a software supply-chain compromise affecting the npm package eslint-config-prettier. Malicious versions 8.10.1, 9.1.1, 10.1.6, and 10.1.7 were published to npm after attacker compromise of maintainer credentials. The trojanized packages introduced an install.js script that executes during npm installation via package lifecycle hooks. On Windows systems, the script checks for the win32 platform and then launches a bundled malicious DLL, node-gyp.dll, reportedly via rundll32. The embedded payload has been described as Scavenger Loader and as a malware component intended to deliver an information stealer and steal npm authentication tokens. The issue is not a conventional coding flaw in package functionality, but an intentional malicious-code insertion into distributed package artifacts.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
No valid public exploits. Mallory filtered out 3 candidates as fakes, detection scripts, or README-only repos.
All candidate exploits were filtered out by Mallory's validation.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
24 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A supply-chain compromise affecting eslint-config-prettier where embedded malicious code is executed during package installation.
A supply-chain compromise of the eslint-config-prettier npm package where embedded malicious code executes during installation, enabling developer/CI environment compromise.
Supply-chain compromise of the eslint-config-prettier package where embedded malicious code executes during installation (install.js) and launches node-gyp.dll malware on Windows.
A supply-chain compromise/embedded malicious code issue in the npm package eslint-config-prettier that can lead to execution of a malicious DLL (Scavenger Loader) intended to deliver an information stealer.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.