Critical Malicious Code Vulnerability in ethers3-wallet Package

ethers3-wallet Updated 02 Oct 2025

Summary

16/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-5986: Malicious code in ethers3-wallet (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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

ethers3-wallet is an npm package designed for managing Ethereum wallets, providing functionalities such as creating, importing, and managing wallets securely. However, it has been identified to contain malicious code that compromises the security of any system where it is installed, potentially leading to unauthorized access to sensitive information.

Vulnerability Detail

The vulnerability originates from the presence of embedded malicious code within the ethers3-wallet package. This code can fully compromise any computer that has the package installed, allowing attackers to access secrets and keys stored on the system. The ramifications are severe, as it may lead to data breaches and unauthorized control over the affected systems. The malicious nature of the code is classified under CWE-506, indicating that it appears to be intentionally harmful.

How To Fix

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

npm uninstall ethers3-wallet

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, if you suspect that your system may have been compromised, rotate all secrets and keys stored on the affected machine from a different, secure computer. Additionally, consider using alternative packages that do not have known vulnerabilities.

Conclusion

The ethers3-wallet package has a critical vulnerability due to embedded malicious code that can compromise systems. Immediate action is required to remove the package and secure any sensitive information. Regularly monitor for updates and consider using tools like Vulert to stay informed about vulnerabilities in your dependencies.

See every vulnerability recorded for ethers3-wallet →

Share this vulnerability

FAQ

ethers3-wallet is an npm package used for managing Ethereum wallets, allowing users to create and manage wallets securely.

The vulnerability involves embedded malicious code that can compromise the security of any system where the package is installed, leading to potential data breaches.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

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

Yes, consider using other Ethereum wallet management packages that do not have known vulnerabilities.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

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

npm uninstall ethers3-wallet

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