npm package report

Is eslint-config-prettier safe?

Versions 8.10.1, 9.1.1, 10.1.6 and 10.1.7 of eslint-config-prettier were compromised. Other versions are not flagged as malicious.

Do not install eslint-config-prettier 8.10.1, 9.1.1, 10.1.6 or 10.1.7

CRITICAL

Compromised releases. Added to CyberXYZ 2025-07-21, OSV malicious-package feed (Google / OpenSSF).

// what we observed

This package installs a windows based malware file node-gyp.dll via install.js

// versions and what to do
Malicious
8.10.1, 9.1.1, 10.1.6, 10.1.7
Move to
10.1.8 newest 10.x release, no known advisory
9.1.2 newest 9.x release, no known advisory
8.10.2 newest 8.x release, no known advisory

If one of these versions was installed, remove it and treat the credentials, tokens and SSH keys on that machine as exposed: rotate them. Check CI runners and container images that installed it too.

npm install eslint-config-prettier@10.1.8

OSV recordadvisory

// reach

2 direct dependencies

1 carry known advisories, worst MEDIUM

165 packages depend on it

an advisory here reaches each of them

Create a free accountfor every dependency path, dependent and what to upgrade
// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


cvss
7.5
high

CVSS v3.1 base score out of 10

epss
5.1%
medium

chance of exploitation in 30 days, 92nd percentile of all CVEs

xyz score
5.4
medium

CyberXYZ composite out of 10

fig. 01 — GHSA-f29h-pxvx-f335, the advisory selected below

// 1 advisories

GHSA-f29h-pxvx-f335

HIGHGitHub ratingexploited in the wildCVE-2025-54313

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.

// cvss v3.1 vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Changed
Confidentiality
Low
Integrity
High
Availability
None

Checked 2026-11-06 at 21:47 UTC. The most recent advisory here was published 2025-07-19. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.