Malicious Code Detected in ethers-lint Package: Version 5.8.1 Compromised
Summary
MAL-2026-773: Malicious code in ethers-lint (npm). Affects ethers-lint versions 5.8.1. 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
ethers-lint is an npm package designed to assist developers in linting their Ethereum-related code. It provides tools for identifying potential issues and ensuring code quality in smart contracts and decentralized applications. However, version 5.8.1 has been flagged for malicious behavior, raising concerns about the integrity and security of applications utilizing this package.
Vulnerability Detail
The vulnerability in ethers-lint arises from the execution of commands that are associated with malicious behavior. This was identified by the OpenSSF Package Analysis project, which determined that the package could compromise the security of applications that depend on it. The malicious actions could lead to unauthorized access, data breaches, or other harmful consequences for users and developers alike.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ethers-lint
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 ethers-lint package from your project until a secure version is confirmed. You can do this by executing the following command: npm uninstall ethers-lint. Consider using alternative linting tools for Ethereum code in the meantime.
Conclusion
The ethers-lint package version 5.8.1 has been flagged for malicious behavior, posing a significant risk to applications that utilize it. Developers are urged to update or remove the package to ensure the security of their projects. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for ethers-lint →
FAQ
ethers-lint is an npm package that helps developers lint their Ethereum-related code, ensuring code quality and identifying potential issues.
Version 5.8.1 of ethers-lint has been identified as malicious and should not be used.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without requiring any signup.
If you are using ethers-lint version 5.8.1, you should uninstall it and look for a secure alternative or wait for a patched version.
Regularly check for updates to your dependencies and use tools like Vulert to monitor for vulnerabilities in your open-source packages.