Critical Malicious Code Vulnerability in gate-evm-check-code2 Package
Summary
MAL-2025-190843: Malicious code in gate-evm-check-code2 (npm). Affects gate-evm-check-code2 versions 2.0.3 – 2.0.6. 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 gate-evm-check-code2 package is an npm library designed for Ethereum Virtual Machine (EVM) code verification. It is utilized by developers to ensure the integrity and security of smart contracts. However, this package has been compromised, embedding malicious code that can lead to severe security breaches.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the gate-evm-check-code2 package. This code can fully compromise any computer that has the package installed, allowing external entities to gain control over the system. The ramifications of this vulnerability are significant, as it can lead to unauthorized access to sensitive information, including secrets and keys stored on the affected machine. Users are advised to treat any system with this package as compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall gate-evm-check-code2
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. The only recommended action is to remove the package entirely and secure your system.
Conclusion
The gate-evm-check-code2 package has been identified as containing malicious code that poses a significant security risk. Users must act swiftly to remove the package and secure their systems. Regular monitoring of dependencies is crucial to maintaining software security.
See every vulnerability recorded for gate-evm-check-code2 →
FAQ
Immediately remove the package and rotate any secrets or keys stored on the affected machine.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
Failing to address this vulnerability can lead to unauthorized access to sensitive data and complete control of your system by malicious actors.
There are no effective mitigations; the only solution is to remove the package and secure your environment.
While many npm packages are safe, it is essential to regularly monitor and audit your dependencies for vulnerabilities using tools like Vulert.