Critical Malicious Code Vulnerability in @mailpoet/eslint-config Package
Summary
MAL-2026-456: Malicious code in @mailpoet/eslint-config (npm). Affected versions are not published. 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
The @mailpoet/eslint-config package is a configuration tool for ESLint, a widely used JavaScript linting utility that helps developers maintain code quality by identifying and reporting on patterns found in ECMAScript/JavaScript code. This package is intended to streamline the setup of ESLint with predefined rules and settings. However, it has been found to contain malicious code that compromises the security of any system where it is installed.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the @mailpoet/eslint-config package. This code can fully compromise any computer that has the package installed, allowing unauthorized access to sensitive information, including secrets and keys. The origin of this vulnerability is linked to the package being flagged as malicious by security researchers, indicating that it poses a significant risk to users and their systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @mailpoet/eslint-config
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, if you need to maintain ESLint functionality, consider using an alternative ESLint configuration package that is known to be secure. You can install a different package by running: 'npm install eslint-config-standard'.
Conclusion
The @mailpoet/eslint-config package has been identified as containing malicious code that poses a serious security risk. Users are advised to uninstall the package immediately and take necessary precautions to secure their systems. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in the future.
See every vulnerability recorded for @mailpoet/eslint-config →
FAQ
The malicious code can compromise the entire system, allowing unauthorized access to sensitive data.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without needing to sign up.
Immediately uninstall the package and rotate any sensitive information stored on the affected system.
Currently, there is no patched version available for this package.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert, and only install packages from trusted sources.