Critical Malicious Code Vulnerability in create-hardhat3-app Package

create-hardhat3-app Updated 24 Nov 2025

Summary

24/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-190839: Malicious code in create-hardhat3-app (npm). Affects create-hardhat3-app versions 1.1.1 – 1.1.4. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The create-hardhat3-app package is a tool designed for developers to quickly set up a Hardhat project, which is a popular Ethereum development environment. It simplifies the process of creating and managing smart contracts and decentralized applications. However, this package has been compromised, embedding malicious code that poses significant security risks to users.

Vulnerability Detail

The vulnerability originates from the malicious code embedded within the create-hardhat3-app package. This code can fully compromise any computer that has the package installed or running, allowing unauthorized access to sensitive information such as secrets and keys. The ramifications of this vulnerability are severe, as it can lead to complete control of the affected system by an external entity, making it imperative for users to act swiftly.

How To Fix

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

npm uninstall create-hardhat3-app

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 ensure that the create-hardhat3-app package is uninstalled from their systems. They can do this by running the command: npm uninstall create-hardhat3-app. Additionally, users should monitor their systems for any unusual activity and consider using alternative packages for their development needs.

Conclusion

The create-hardhat3-app package has been compromised with malicious code, posing a significant threat to users. Immediate action is required to remove the package and secure sensitive information. Users should stay informed about updates and consider using tools like Vulert to monitor for vulnerabilities in their applications.

See every vulnerability recorded for create-hardhat3-app →

Share this vulnerability

FAQ

You should immediately uninstall the package and rotate any secrets or keys stored on your computer.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.

Currently, there is no patch available. Users are advised to remove the package and secure their systems.

Failing to address this vulnerability can lead to unauthorized access to your system, potentially resulting in data theft or loss of control over your applications.

It is recommended to avoid using this package until a secure version is released. Consider using alternative tools for your development needs.

How To Fix

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

npm uninstall create-hardhat3-app

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