GHSA-f29h-pxvx-f335
eslint-config-prettier, eslint-plugin-prettier, synckit, @pkgr/core, napi-postinstall have embedded malicious code
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2025-54313
- CVSS_V3
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
Description
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.
Paquets affectés
| Paquet | Versions |
|---|---|
| npm · eslint-config-prettier | introduced 8.10.1, fixed 8.10.2 |
| npm · eslint-config-prettier | introduced 9.1.1, fixed 9.1.2 |
| npm · eslint-config-prettier | introduced 10.1.6, fixed 10.1.8 |
| npm · eslint-plugin-prettier | introduced 4.2.2, fixed 4.2.4 |
| npm · synckit | introduced 0.11.9, fixed 0.11.10 |
| npm · @pkgr/core | introduced 0.2.8, fixed 0.2.9 |
| npm · napi-postinstall | introduced 0.3.1, fixed 0.3.2 |
| npm · got-fetch | introduced 5.1.11, fixed 6.0.0 |
Références
- https://nvd.nist.gov/vuln/detail/CVE-2025-54313 ADVISORY
- https://github.com/prettier/eslint-config-prettier/issues/339 WEB
- https://github.com/prettier/eslint-config-prettier/commit/9b0b0a47ec28a7a83cf65e8436a8776910379385 WEB
- https://github.com/prettier/eslint-plugin-prettier/commit/ec39dd4400f10c52d10cd991c10fa8de51ceb854 WEB
- https://github.com/un-ts/napi-postinstall/commit/38b4e95cf554e2549b9e1e2c4ff6bff4da9a65f9 WEB
- https://github.com/un-ts/pkgr/commit/e1420c99e44d8a2ae949381f9fbe1af5ba9cb1dd WEB
- https://github.com/un-ts/synckit/commit/8f2ee32d4f75736a1c8d7e1101190a71e48909e4 WEB
- https://www.stepsecurity.io/blog/supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise WEB
- https://www.npmjs.com/package/eslint-config-prettier?activeTab=versions WEB
- https://www.endorlabs.com/learn/cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only WEB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54313 WEB
- https://www.bleepingcomputer.com/news/security/popular-npm-linter-packages-hijacked-via-phishing-to-drop-malware WEB
- https://socket.dev/blog/npm-phishing-campaign-leads-to-prettier-tooling-packages-compromise WEB
- https://secure.software/npm/packages/got-fetch WEB
- https://news.ycombinator.com/item?id=44609732 WEB
- https://news.ycombinator.com/item?id=44608811 WEB
- https://github.com/prettier/eslint-config-prettier PACKAGE
- https://github.com/community-scripts/ProxmoxVE/discussions/6115 WEB
- https://checkmarx.com/zero-post/supply-chain-phishing-campaign-drops-more-malware-into-npm-got-fetch-5-1 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |