Critical Malicious Code Vulnerability in eslint-config-ppf Package
Summary
MAL-2026-2068: Malicious code in eslint-config-ppf (npm). Affects eslint-config-ppf versions 0.128.2. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
eslint-config-ppf is an npm package that provides a set of ESLint configurations for JavaScript projects. It is designed to help developers maintain code quality and consistency across their applications. However, this package has been identified as containing malicious code, which poses a significant security risk to any system where it is installed.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the eslint-config-ppf package. This code can compromise any computer that has the package installed, potentially allowing unauthorized access to sensitive information, including secrets and keys. The malicious nature of this code has been confirmed by security researchers, and it is classified under CWE-506, indicating that the product contains code that appears to be malicious in nature.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall eslint-config-ppf
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a workaround, you can temporarily switch to an alternative ESLint configuration package that does not have known vulnerabilities. Consider using packages like eslint-config-standard or eslint-config-airbnb until a safe version of eslint-config-ppf is released.
Conclusion
The eslint-config-ppf package has been identified as containing malicious code that poses a serious security threat. Users are advised to uninstall the package immediately and take necessary precautions to secure their systems. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for eslint-config-ppf →
FAQ
You should immediately uninstall the package and rotate any sensitive information stored on the affected machine.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without requiring any signup.
No, there is currently no patched version available for eslint-config-ppf. The only solution is to uninstall the package.
Keeping this package installed can lead to unauthorized access to your system, compromising sensitive data and potentially allowing attackers to control your machine.
Yes, you can use other ESLint configuration packages or create your own ESLint configuration to maintain code quality without using eslint-config-ppf.