Malicious Code Detected in eslint-plugin-automation-custom: A Critical Security Alert
Summary
MAL-2025-19850: Malicious code in eslint-plugin-automation-custom (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
eslint-plugin-automation-custom is an npm package designed to enhance automation capabilities in JavaScript projects by providing custom linting rules. It is widely used in various applications to ensure code quality and adherence to best practices. However, this package has been compromised, leading to the introduction of malicious code that poses significant security risks to users and their projects.
Vulnerability Detail
The vulnerability in eslint-plugin-automation-custom stems from the inclusion of malicious code that can execute harmful actions within the user's environment. This code can potentially lead to data breaches, unauthorized access, or other malicious activities. The issue originated from the package's codebase, which was found to contain harmful scripts that could compromise the integrity of applications utilizing this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall eslint-plugin-automation-custom
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 temporary workaround, you can remove the eslint-plugin-automation-custom package from your project until a secure version is released. Use the following command to uninstall it: 'npm uninstall eslint-plugin-automation-custom'. This will help mitigate the risk while you await a fix.
Conclusion
The discovery of malicious code in eslint-plugin-automation-custom poses a significant threat to users of this npm package. It is crucial to take immediate action by updating or removing the package to safeguard your applications. Stay informed about vulnerabilities and utilize tools like Vulert for ongoing monitoring.
See every vulnerability recorded for eslint-plugin-automation-custom →
FAQ
eslint-plugin-automation-custom is an npm package that provides custom linting rules for automation in JavaScript projects.
The malicious code was introduced into the package's codebase, compromising its integrity and posing security risks to users.
Using this compromised package can lead to data breaches, unauthorized access, and other harmful activities within your application.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner without needing to sign up.
Yes, updating the eslint-plugin-automation-custom package to the latest version will help mitigate the vulnerability.