Critical Malicious Code Vulnerability in evm-gateway-contracts-private Package
Summary
MAL-2026-88: Malicious code in evm-gateway-contracts-private (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-gateway-contracts-private package is a Node.js library designed for facilitating interactions with Ethereum-based smart contracts in a private environment. It provides developers with tools to deploy and manage contracts securely. However, this package has been identified as containing malicious code that compromises the security of any system it is installed on.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the evm-gateway-contracts-private package. This code can fully compromise any computer that has the package installed, 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 code that appears to be malicious in nature. Users are advised to treat any system running this package as fully compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall evm-gateway-contracts-private
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 for this vulnerability other than removing the package and securing any exposed secrets. Users should ensure that they do not run any applications that depend on this package until it has been fully removed.
Conclusion
The evm-gateway-contracts-private package contains malicious code that poses a significant security risk. Immediate action is required to remove the package and secure any sensitive information. Users should remain vigilant and consider using tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for evm-gateway-contracts-private →
FAQ
You should immediately uninstall the package using 'npm uninstall evm-gateway-contracts-private' and rotate any secrets or keys stored on the affected machine.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By checking your package-lock.json file, you can determine if your application is affected.
No, there is currently no patched version available for this package. The only solution is to remove it from your system.
Failing to remove the package can lead to unauthorized access to sensitive information, potentially compromising your entire system.
You may need to find alternative packages or solutions to replace the functionality provided by the evm-gateway-contracts-private package.