IRONSMITHINTEL
HIGHCVSS7.5
|
Actively Exploited
|CISA KEV|CVE-2025-54313|Auth: none — unauthenticated|Reboot: required|Manual only

Prettier eslint-config-prettier Embedded Malicious Code Vulnerability

Prettier eslint-config-prettier contains an embedded malicious code vulnerability. Installing an affected package executes an install.js file that launches the node-gyp.dll malware on Windows.

Published Jul 19, 2025 · Updated May 16, 2026
Why patchRisk explained in plain English
Worst-case scenarioIf unpatched

A remote attacker, without authentication, can achieve full data confidentiality loss, arbitrary modification of data. Federal agencies are required to remediate by 2026-02-12 under CISA BOD 22-01.

How the attack worksNo clicks needed

This is a Software Vulnerability (CWE-506) (CWE-506) vulnerability in Prettier eslint-config-prettier. eslint-config-prettier 8.10.1, 9.1.1, 10.1.6, and 10.1.7 has embedded malicious code for a supply chain compromise. Installing an affected package executes an install.js file that launches the node-gyp.dll malware on Windows. Exploitation requires remote network access, higher attack complexity, no authentication required, and no user interaction required.

📧

Phishing link

🖼

Malicious file

🔓

Server compromised

Am I affected?Quick check

Probably yes if any of these apply:

IT Security
Running eslint-config-prettier: 8.10.1, 9.1.1, 10.1.6, 10.1.7; eslint-plugin-prettier: 4.2.2, 4.2.3; synckit: 0.11.9; pkgr\/core: 0.2.8; got-fetch: 5.1.1, 5.1.2; napi-postinstall: 0.3.1; homarr: 1.29.0 ≤ v < 1.30.0
Real-world incidentsWhat we've seen

Active exploitation documented in the wild. Threat-research write-up: https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware/

How to patch

Manual remediation steps

Apply the Vendor Patch

This vulnerability is in the CISA Known Exploited Vulnerabilities catalog — apply the vendor's security update as soon as possible.

CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

References

    1
    Vendor advisory: https://github.com/prettier/eslint-config-prettier/issues/339#issuecomment-3090304490
    1
    NVD entry: https://nvd.nist.gov/vuln/detail/CVE-2025-54313
    1
    CISA KEV: https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313
PowerShell automationComing soon

No tested PowerShell script for this entry yet. We’re prioritising automation based on user demand.