Critical Malicious Code Vulnerability in evm-checkcode-cli Package
Summary
MAL-2025-190841: Malicious code in evm-checkcode-cli (npm). Affects evm-checkcode-cli versions 1.0.12 – 1.0.15. 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 evm-checkcode-cli package is a command-line interface tool designed for Ethereum Virtual Machine (EVM) code verification. It allows developers to check the integrity and correctness of smart contracts. However, this package has been compromised, embedding malicious code that poses significant security risks to users and their systems.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the evm-checkcode-cli package. This code can fully compromise any computer that has the package installed or running, allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of the code is classified under CWE-506, indicating that it contains embedded malicious code. Users are advised to treat any affected system as fully compromised, as the removal of the package may not eliminate all traces of the malicious software.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall evm-checkcode-cli
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
There are no effective workarounds to mitigate the risks posed by this vulnerability. The best course of action is to uninstall the package and ensure that all sensitive information is secured.
Conclusion
The evm-checkcode-cli package has been compromised with malicious code, posing serious security risks to users. Immediate action is required to uninstall the package and secure any sensitive information. Utilizing tools like Vulert can help monitor for vulnerabilities in the future.
See every vulnerability recorded for evm-checkcode-cli →
FAQ
You should immediately uninstall the evm-checkcode-cli package and rotate any secrets or keys stored on your system.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.
Failing to address this vulnerability can lead to unauthorized access to sensitive data, potential data breaches, and complete control of your system by malicious actors.
Currently, there is no patch available. Users should uninstall the package and monitor for any updates from the maintainers.
Regularly update your packages, use tools like Vulert for real-time monitoring, and review the security of third-party packages before installation.