# eslint-config-prettier and friends hijacked via npnjs.com phishing (CVE-2025-54313) · pwn.watch > A maintainer was phished through the typosquat domain npnjs.com. The attacker published malicious eslint-config-prettier versions whose install script ran node-gyp.dll on Windows, dropping the Scavenger infostealer. eslint-plugin-prettier, synckit, @pkgr/core, napi-postinstall and later the 'is' package were also hit. Page: https://pwn.watch/i/eslint-config-prettier-npm-phishing-cve-2025-54313 · generated 2026-10-22T23:52:53.443Z ## Status - Severity: high · status: closed · patch: patched - Product: npm: eslint-config-prettier, eslint-plugin-prettier, synckit, @pkgr/core, napi-postinstall, is - Started: 2025-07-18 · closed: 2025-07-22 - CVEs: CVE-2025-54313 - Affected: eslint-config-prettier 8.10.1, 9.1.1, 10.1.6, 10.1.7; is 3.3.1, 5.0.0 - Fixed in: Malicious versions removed; use other eslint-config-prettier versions (see CVE record) ## Follow this incident - RSS (one item per update): https://pwn.watch/i/eslint-config-prettier-npm-phishing-cve-2025-54313/feed.xml - JSON Feed: https://pwn.watch/i/eslint-config-prettier-npm-phishing-cve-2025-54313/feed.json - Full data (timeline, sources, posts, agentBrief): https://pwn.watch/i/eslint-config-prettier-npm-phishing-cve-2025-54313.json - This file: https://pwn.watch/i/eslint-config-prettier-npm-phishing-cve-2025-54313/llms.txt ## Updates (newest first) - 2025-07-22: Malicious 'is' package versions found in the same campaign (https://socket.dev/blog/npm-is-package-hijacked-in-expanding-supply-chain-attack) - 2025-07-18: Malicious eslint-config-prettier versions published after maintainer phishing (https://www.cve.org/CVERecord?id=CVE-2025-54313) ## Fix brief # Security brief: eslint-config-prettier and friends hijacked via npnjs.com phishing (CVE-2025-54313) Source: https://pwn.watch/i/eslint-config-prettier-npm-phishing-cve-2025-54313 · status: closed (closed Jul 22, 2025) · severity: high · updated Jul 22, 2025 ## Patch status **PATCHED: fixed releases exist. Upgrade to a fixed version.** ## What it is A maintainer was phished through the typosquat domain npnjs.com. The attacker published malicious eslint-config-prettier versions whose install script ran node-gyp.dll on Windows, dropping the Scavenger infostealer. eslint-plugin-prettier, synckit, @pkgr/core, napi-postinstall and later the 'is' package were also hit. Severity detail: Supply-chain compromise; Windows infostealer - Product: npm: eslint-config-prettier, eslint-plugin-prettier, synckit, @pkgr/core, napi-postinstall, is - CVE / advisory ids: CVE-2025-54313 ## Affected versions - eslint-config-prettier 8.10.1, 9.1.1, 10.1.6, 10.1.7 - is 3.3.1, 5.0.0 ## Check whether you're affected No generic command applies (the product is a hosted service, appliance or desktop app). Check the installed version in its admin UI / About screen and compare with the versions above. ## Fix Upgrade to one of these fixed versions (or later on the same branch): - Malicious versions removed; use other eslint-config-prettier versions (see CVE record) After upgrading, re-run the checks above and redeploy/restart the affected services. ## Secrets to rotate This incident involves possible credential exposure. Rotate any credentials (API keys, tokens, env vars, SSH keys) that were present on affected systems or in affected builds while vulnerable/compromised versions were installed, and review access logs. ## Latest updates - Jul 22, 2025: Malicious 'is' package versions found in the same campaign - Jul 18, 2025: Malicious eslint-config-prettier versions published after maintainer phishing ## Advisories - [CVE Record: CVE-2025-54313](https://www.cve.org/CVERecord?id=CVE-2025-54313) (CVE.org) - [NVD: CVE-2025-54313](https://nvd.nist.gov/vuln/detail/CVE-2025-54313) (NVD) ## Write-ups & news - [Scavenger Malware Distributed via eslint-config-prettier NPM Package Supply Chain Compromise](https://invokere.com/posts/2025/07/scavenger-malware-distributed-via-eslint-config-prettier-npm-package-supply-chain-compromise/) - [npm 'is' Package Hijacked in Expanding Supply Chain Attack](https://socket.dev/blog/npm-is-package-hijacked-in-expanding-supply-chain-attack) - [Compromised npm package threatens thousands of developer projects](https://www.reversinglabs.com/blog/eslint-hack) ## Caveats The 'is' date (2025-07-22) is approximate from Socket's post; verify there. --- Machine-readable: https://pwn.watch/i/eslint-config-prettier-npm-phishing-cve-2025-54313.json · all incidents: https://pwn.watch/incidents.json. Verify against the vendor advisory before changing production systems.