---
title: "Still Trusting Automated Patches Blindly? Think Again"
url: "https://jfrog.com/blog/npm-automated-patching-breach/"
canonical: "https://jfrog.com/blog/npm-automated-patching-breach/"
lang: "en-US"
type: "article"
description: "Blindly trusting automated patches? Understand the hidden risks of automated patch management and verify that your updates are coming from a secure and trusted source."
date: "2025-07-23T15:08:52"
modified: "2025-07-23T15:08:52"
---
# Still Trusting Automated Patches Blindly? Think Again

[Blog Home](https://jfrog.com/blog/)

## ![https://speedmedia2.jfrog.com/08612fe1-9391-4cf3-ac1a-6dd49c36b276/jfrog.com/wp-content/uploads/2025/07/npm-Patching-Breach-\_image2.png](https://speedmedia2.jfrog.com/08612fe1-9391-4cf3-ac1a-6dd49c36b276/jfrog.com/wp-content/uploads/2025/07/npm-Patching-Breach-_863x300.png)

## The Breach: A High-Impact Compromise

[JounQin’s](https://x.com/JounQin/status/1946297662069993690) npm account, the maintainer of popular packages such as `eslint-config-prettier`, was compromised in a phishing attack. The attackers used the breached credentials to publish six malicious versions of `eslint-config-prettier`, along with three additional infected packages tied to the same account. In total, the compromised packages see roughly 78 million weekly downloads. Notably, the account had publishing rights for packages with a combined weekly download count of **180 million!**

Hijacking isn’t new.  We’ve covered similar incidents [before](https://jfrog.com/blog/five-examples-of-infection-methods-attackers-use-to-spread-malicious-packages/#Software-Package-Hijacking). This latest case is just another reminder of how vulnerable widely used and trusted packages can be.

## First Signs: A Suspicious Version Emerges

On July 18, 2025, a [GitHub issue (#339)](https://github.com/prettier/eslint-config-prettier/issues/339) was opened by user **dasa** in the `eslint-config-prettier` repository, flagging unusual versions that had recently appeared on the npm registry. One version in particular, **10.1.7**,  stood out due to a suspicious modification: An `install` script had been quietly added to its `package.json`, raising immediate concerns.

![npm Patching Breach -\_](https://speedmedia2.jfrog.com/08612fe1-9391-4cf3-ac1a-6dd49c36b276/jfrog.com/wp-content/uploads/2025/07/npm-Patching-Breach-_image1.png)

## Maintainer Confirms Phishing Attack

On July 19, 2025, the maintainer of `eslint-config-prettier` [confirmed](https://x.com/JounQin/status/1946297662069993690) he had fallen victim to an email phishing attack. The attackers gained access to his npm account and used it to publish malicious code across several packages. The most notable target was `eslint-config-prettier`, which alone accounts for 31 million weekly downloads according to npm.

![npm Patching Breach -\_image5](https://speedmedia2.jfrog.com/08612fe1-9391-4cf3-ac1a-6dd49c36b276/jfrog.com/wp-content/uploads/2025/07/npm-Patching-Breach-_image5.png)

## The Full Blast Radius:

In a [post on X](https://x.com/JounQin/status/1946297662069993690), JounQin also revealed the full list of compromised packages that were published with malicious code. The affected versions spanned several widely-used projects, including multiple releases of `eslint-config-prettier`. Here’s the breakdown:

![Table - Downloads of Breached Patches](https://speedmedia2.jfrog.com/08612fe1-9391-4cf3-ac1a-6dd49c36b276/jfrog.com/wp-content/uploads/2025/07/Automated-Patches-Breach-Table.png)

Collectively, these packages represent **tens of millions of weekly downloads**, making this one of the most severe npm supply chain compromises in recent memory.

## Windows-Only, But Still Dangerous

The malicious behavior was delivered via an embedded `node-gyp.dll` PE32+ binary included in the compromised packages, effectively limiting the attack to Windows systems only. Due to the payload’s format, GNU/Linux distributions and **macOS users are unlikely to be impacted**. On infected machines, the payload installs the Scavenger malware, which enables attackers to exfiltrate files, steal credentials, and carry out a range of malicious activities.

## JFrog Curation: Your First Line of Defense

With [JFrog Curation](https://jfrog.com/curation)’s advanced detection capabilities, you’re no longer relying on blind trust. Malicious or suspicious packages flagged by the community or [JFrog’s](http://research.jfrog.com) security research are automatically blocked, preventing them from ever entering your organization. You control what’s allowed in before it becomes a risk.

_JFrog detects and prevents malicious packages from entering your development environment (Click to Enlarge)_

![https://speedmedia2.jfrog.com/08612fe1-9391-4cf3-ac1a-6dd49c36b276/jfrog.com/wp-content/uploads/2025/07/npm-Patching-Breach-\_image2.png](https://speedmedia2.jfrog.com/08612fe1-9391-4cf3-ac1a-6dd49c36b276/jfrog.com/wp-content/uploads/2025/07/npm-Patching-Breach-_image4.png)_JFrog blocking a malicious npm package in real-time – protecting your project before the install even begins_

At this stage, all compromised packages would already be flagged as suspicious by the [JFrog Platform](https://jfrog.com/platform), automatically, without any manual input. Our supplemental research clearly indicated what the system had already detected, providing technical validation regarding the efficacy of JFrog’s solution.

Organizations using **JFrog Curation** with a **[malicious block policy](https://docs.jfrog.com/security/docs/configure-curation)** are fully protected, not just from these specific packages, but from similar supply chain attacks in the future.

### Final Thoughts

This incident is a wake-up call for the entire ecosystem – even the most trusted packages can become attack vectors overnight. Without active governance and real-time protection, you’re flying blind. Make sure you have the right tools in place – before it’s too late.

For more info on how JFrog can help manage and protect your development environment, feel free to [take an online tour](https://jfrog.com/start/try-shiftleft), [schedule a demo](https://jfrog.com/platform/schedule-a-demo/) or [start a free trial](https://jfrog.com/start-free/) at your convenience.

[Product JFrog Curation Learn More](https://jfrog.com/curation)

[Blog Attacks on Docker Hub Plant Millions of Malicious Repositories Learn More](https://jfrog.com/blog/attacks-on-docker-with-millions-of-malicious-repositories-spread-malware-and-phishing-scams/)

[Video The Power of JFrog Curation and Shift Left Learn More](https://youtu.be/DS11Divs5iQ?si=kOmgWOv7EvVYX4TK)