Critical Malicious Code Vulnerability in @ensdomains/ccip-read-cf-worker Package
Summary
MAL-2025-190929: Malicious code in @ensdomains/ccip-read-cf-worker (npm). Affects @ensdomains/ccip-read-cf-worker versions 0.0.4. 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/ccip-read-cf-worker package is a Node.js library designed to facilitate interactions with the Ethereum Name Service (ENS) through CCIP (Cross-Chain Interoperability Protocol). It is commonly used in decentralized applications to enhance user experience by providing seamless access to ENS features. However, this package has been compromised, leading to significant security concerns for users and developers relying on its functionality.
Vulnerability Detail
The vulnerability stems from the presence of malicious code embedded within the @ensdomains/ccip-read-cf-worker package, specifically in version 0.0.4. This malicious code can compromise any computer that has the package installed, potentially allowing unauthorized access to sensitive information such as secrets and keys. The origin of this vulnerability is linked to a malicious actor who has embedded harmful code within the package, making it a severe threat to users and their systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @ensdomains/ccip-read-cf-worker
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
Currently, there are no effective workarounds to mitigate the risks associated with this vulnerability. The only recommended action is to uninstall the package and secure your system.
Conclusion
The @ensdomains/ccip-read-cf-worker package has been compromised with malicious code, posing a significant risk to users. Immediate action is required to uninstall the package and secure any sensitive information. As there is no patched version available, users should refrain from using this package until further updates are provided.
See every vulnerability recorded for @ensdomains/ccip-read-cf-worker →
FAQ
You should immediately uninstall the package and rotate any sensitive information stored on your system.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without requiring any signup.
No, there is currently no patched version available for this package. It is advised to avoid using it until further notice.
Failing to address this vulnerability can lead to unauthorized access to sensitive data, potentially compromising your entire system.
Vulert monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file, providing real-time insights.