Malicious Code Detected in evm-testing Package - Immediate Action Required
Summary
MAL-2025-19996: Malicious code in evm-testing (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 evm-testing package is a tool used in the Ethereum Virtual Machine (EVM) ecosystem, primarily for testing smart contracts and decentralized applications. It provides developers with essential functionalities to simulate and validate the behavior of their code in a controlled environment. However, the package has been identified to contain malicious code, posing significant risks to users and their applications.
Vulnerability Detail
The vulnerability in the evm-testing package arises from the inclusion of malicious code, which can compromise the integrity of applications that utilize this package. This code may lead to unauthorized access, data breaches, or other harmful actions that can affect both developers and end-users. The malicious code was introduced in version 0 and has the potential to exploit vulnerabilities in the EVM, making it critical for users to take immediate action to mitigate risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall evm-testing
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, users can remove the evm-testing package from their project until a secure version is released. This can be done with the following command:
npm uninstall evm-testing
Consider using alternative testing packages that do not have known vulnerabilities.
Conclusion
The discovery of malicious code in the evm-testing package highlights the importance of maintaining vigilance in the use of open-source software. Users are urged to take immediate action by updating or removing the package to protect their applications from potential threats.
See every vulnerability recorded for evm-testing →
FAQ
The evm-testing package is a tool designed for testing smart contracts and decentralized applications within the Ethereum Virtual Machine ecosystem.
The malicious code can lead to unauthorized access and data breaches, posing significant risks to users and their applications.
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 cannot update the package right away, consider uninstalling it and using alternative testing solutions until a secure version is available.
Regularly check for updates from the package maintainers and subscribe to vulnerability databases or alerts to stay informed about potential risks.