Critical Malicious Code Vulnerability in @ensdomains/hackathon-registrar Package
Summary
MAL-2025-190732: Malicious code in @ensdomains/hackathon-registrar (npm). Affects @ensdomains/hackathon-registrar versions 1.0.5. 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 @ensdomains/hackathon-registrar package is a tool used within the Ethereum Name Service (ENS) ecosystem, facilitating the registration of domain names on the blockchain. It is designed to streamline the process for developers and users looking to interact with ENS. However, this package has been identified to contain malicious code that poses significant security risks to any system where it is installed.
Vulnerability Detail
The vulnerability originates from the inclusion of embedded malicious code within version 1.0.5 of the @ensdomains/hackathon-registrar package. This code can compromise any computer that has the package installed, potentially allowing unauthorized access to sensitive information such as secrets and keys. The ramifications of this vulnerability are severe, as it may lead to full control of the affected system by an external entity. Users are advised to treat any system with this package as fully compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @ensdomains/hackathon-registrar
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. Use the following command to uninstall the package: npm uninstall @ensdomains/hackathon-registrar.
Conclusion
The @ensdomains/hackathon-registrar package has been compromised with malicious code, posing serious security risks to users. Immediate action is required to uninstall the package and secure any affected systems. Users should remain vigilant and utilize tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for @ensdomains/hackathon-registrar →
FAQ
You should immediately uninstall the package and rotate any secrets or keys stored on the affected system.
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.
As of now, there is no patched version available. Users should focus on removing the package and securing their systems.
Failure to address this vulnerability can lead to unauthorized access to sensitive information and complete control of your system by malicious actors.
No, it is highly recommended to avoid using this package until a secure version is released and the vulnerability is addressed.