Advisory

GHSA-f29h-pxvx-f335

Also known as: CVE-2025-54313

Summary

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

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-07-19 18:30 UTC
Modified
2026-02-03 03:09 UTC

Affected packages and fixes

eslint-config-prettier

npm · All systems

Affected

  • introduced 8.10.1, fixed 8.10.2 (semver)

Fixed versions

8.10.2

Fix

eslint-config-prettier

npm · All systems

Affected

  • introduced 9.1.1, fixed 9.1.2 (semver)

Fixed versions

9.1.2

Fix

eslint-config-prettier

npm · All systems

Affected

  • introduced 10.1.6, fixed 10.1.8 (semver)

Fixed versions

10.1.8

Fix

eslint-plugin-prettier

npm · All systems

Affected

  • introduced 4.2.2, fixed 4.2.4 (semver)

Fixed versions

4.2.4

Fix

synckit

npm · All systems

Affected

  • introduced 0.11.9, fixed 0.11.10 (semver)

Fixed versions

0.11.10

Fix

@pkgr/core

npm · All systems

Affected

  • introduced 0.2.8, fixed 0.2.9 (semver)

Fixed versions

0.2.9

Fix

napi-postinstall

npm · All systems

Affected

  • introduced 0.3.1, fixed 0.3.2 (semver)

Fixed versions

0.3.2

Fix

got-fetch

npm · All systems

Affected

  • introduced 5.1.11, fixed 6.0.0 (semver)

Fixed versions

6.0.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences