NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2025-54313: eslint-config-prettier, eslint-plugin-prettier, synckit, @pkgr/core, napi-postinstall have embedded malicious code

highCVSS 3.1 7.5ExploitedGHSA-f29h-pxvx-f335

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.

Published Jul 19, 2025 · Updated Jan 22, 2026

Affected packages

eslint-config-prettier

Ecosystem
npm
Affected
= 8.10.1
Fixed in
8.10.2
Check
npm ls eslint-config-prettier

eslint-config-prettier

Ecosystem
npm
Affected
= 9.1.1
Fixed in
9.1.2
Check
npm ls eslint-config-prettier

eslint-config-prettier

Ecosystem
npm
Affected
>= 10.1.6, <= 10.1.7
Fixed in
10.1.8
Check
npm ls eslint-config-prettier

eslint-plugin-prettier

Ecosystem
npm
Affected
>= 4.2.2, <= 4.2.3
Fixed in
4.2.4
Check
npm ls eslint-plugin-prettier

synckit

Ecosystem
npm
Affected
= 0.11.9
Fixed in
0.11.10
Check
npm ls synckit

@pkgr/core

Ecosystem
npm
Affected
= 0.2.8
Fixed in
0.2.9
Check
npm ls @pkgr/core

napi-postinstall

Ecosystem
npm
Affected
= 0.3.1
Fixed in
0.3.2
Check
npm ls napi-postinstall

got-fetch

Ecosystem
npm
Affected
>= 5.1.11, <= 5.1.12
Fixed in
6.0.0
Check
npm ls got-fetch

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.

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to Pradoxzon.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology