npm package report

Is eslint-plugin-prettier safe?

Versions 4.2.2 and 4.2.3 of eslint-plugin-prettier were compromised. Other versions are not flagged as malicious.

Do not install eslint-plugin-prettier 4.2.2 or 4.2.3

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
4.2.2, 4.2.3
Move to
4.2.5 newest 4.x release, no known advisory
5.5.7 current 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-plugin-prettier@4.2.5

OSV recordadvisory

// reach

9 direct dependencies

2 carry known advisories, worst HIGH

125 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.



Checked 2026-10-31 at 00:01 UTC. Updated continuously from NVD, GHSA, OSV and CNA feeds.

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