Critical Malicious Code Vulnerability in eth-validator Package

eth-validator Updated 02 Oct 2025

Summary

17/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-5998: Malicious code in eth-validator (npm). Affected versions are not published. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The eth-validator package is an npm library designed for Ethereum validation processes, enabling developers to interact with Ethereum networks and manage validator nodes. However, this package has been identified to contain embedded malicious code that compromises the security of any system where it is installed. This vulnerability poses significant risks to users, as it can lead to unauthorized access and control over sensitive data.

Vulnerability Detail

The vulnerability stems from the presence of embedded malicious code within the eth-validator package. This code can fully compromise any computer that has the package installed, allowing attackers to gain control over the system. The ramifications include potential data breaches, loss of sensitive information, and unauthorized access to user credentials. Users are advised to treat any system running this package as compromised and take immediate action to secure their data.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall eth-validator

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 workaround, users should consider isolating the affected systems from the network and performing a thorough security audit to identify any additional malicious software that may have been installed as a result of the vulnerability. Additionally, rotate all secrets and keys stored on the compromised system from a secure, unaffected machine.

Conclusion

The eth-validator package contains malicious code that poses a severe security risk to any system where it is installed. Users must act swiftly to remove the package and secure their data. Regular monitoring and updates are crucial to maintaining the integrity of your applications.

See every vulnerability recorded for eth-validator →

Share this vulnerability

FAQ

The eth-validator package is an npm library used for Ethereum validation, allowing developers to manage validator nodes and interact with Ethereum networks.

The embedded malicious code can fully compromise your system, allowing attackers to gain unauthorized access to sensitive data and control over your computer.

Immediately remove the eth-validator package from your system and rotate any sensitive information stored on the affected machine.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.

While removing the package is essential, there is no guarantee that all malicious software has been removed. A thorough security audit is recommended.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall eth-validator

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback