Malicious Code Injection in continental_hoverfly_z3n: A Threat to npm Ecosystem
Summary
MAL-2025-93771: Malicious code in continental_hoverfly_z3n (npm). Affected versions are not published. 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 package 'continental_hoverfly_z3n' is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code. However, it has been identified as part of a malicious campaign that aims to exploit the npm registry, potentially affecting developers who rely on it for legitimate purposes.
Vulnerability Detail
The vulnerability in 'continental_hoverfly_z3n' originates from its association with the tea.xyz token reward campaign, which has been flooding the npm registry with malicious packages. These packages contain scripts designed to automatically generate and publish derivative packages with randomized names, thereby inflating developer reputation scores for token rewards. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants, leading to pollution of the npm registry and potential security risks for users.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall continental_hoverfly_z3n
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 temporary workaround, you can remove the 'continental_hoverfly_z3n' package from your project by executing 'npm uninstall continental_hoverfly_z3n' until a secure version is released.
Conclusion
The 'continental_hoverfly_z3n' package has been identified as a vector for malicious code injection, posing significant risks to developers and their applications. It is crucial to take immediate action by updating or removing the package to safeguard your projects. Utilizing tools like Vulert can further enhance your security posture by providing real-time alerts for open-source vulnerabilities.
See every vulnerability recorded for continental_hoverfly_z3n →
FAQ
The vulnerability involves malicious code that modifies package.json and publishes derivative packages to inflate developer reputation scores.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your package-lock.json for affected packages.
Using the compromised package can lead to security breaches, including unauthorized access to your application and potential data leaks.
Regularly updating your dependencies, using vulnerability scanning tools, and monitoring your package-lock.json can help prevent future vulnerabilities.
Detailed information can be found in the vulnerability report on the official GitHub repository or through security advisories related to npm packages.