Malicious Code Detected in eslint-plugin-coda-rules: A Critical Security Alert
Summary
MAL-2025-19852: Malicious code in eslint-plugin-coda-rules (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-coda-rules is an npm package designed to provide a set of linting rules for the Coda application framework. It enhances code quality by enforcing coding standards and best practices. However, the package has been found to contain malicious code, posing significant security risks to users who integrate it into their projects.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the eslint-plugin-coda-rules package. This code can potentially compromise the security of applications that utilize the package, leading to unauthorized access, data breaches, or other malicious activities. The specific nature of the malicious code has not been disclosed, but its presence in the package is a serious concern for developers relying on this tool for code quality.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall eslint-plugin-coda-rules
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 avoid using eslint-plugin-coda-rules until a secure version is released. Consider using alternative linting tools or packages that do not have known vulnerabilities.
Conclusion
The discovery of malicious code in the eslint-plugin-coda-rules package highlights the importance of vigilance in managing open-source dependencies. Developers should take immediate action to remove the affected package and monitor for updates or alternatives to ensure the security of their applications.
See every vulnerability recorded for eslint-plugin-coda-rules →
FAQ
eslint-plugin-coda-rules is an npm package that provides linting rules specifically for the Coda application framework, aimed at improving code quality.
The malicious code was identified by security researchers from Amazon Inspector, who reported the findings to the community.
Using this package can expose your application to security vulnerabilities, including unauthorized access and potential data breaches.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
If you have already integrated eslint-plugin-coda-rules into your project, it is crucial to uninstall it immediately and consider alternative solutions.