Malicious Code Injection in past_hoverfly_z3n Package
Summary
MAL-2025-89365: Malicious code in past_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 past_hoverfly_z3n package is part of the npm ecosystem, typically used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages. This package, like others in the campaign, is designed to inflate developer reputation scores through automated scripts that publish derivative packages with altered names and contents.
Vulnerability Detail
The vulnerability in the past_hoverfly_z3n package originates from its association with the tea.xyz token reward campaign. This package contains malicious scripts that modify the package.json file by removing private flags, changing version numbers, and generating random package names. These actions lead to the continuous republishing of variants, which pollutes the npm registry and compromises the integrity of the ecosystem. The ramifications include potential security risks for developers who unknowingly use this package, as it may lead to unauthorized access or manipulation of their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall past_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, avoid using the past_hoverfly_z3n package and consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The past_hoverfly_z3n package is compromised by malicious code that can lead to significant security risks. It is crucial to remove this package from your projects and monitor for any unauthorized changes. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for past_hoverfly_z3n →
FAQ
The past_hoverfly_z3n package is a JavaScript package in the npm ecosystem that has been identified as part of a malicious campaign to inflate developer reputation scores.
The vulnerability can lead to unauthorized modifications in your project's dependencies, potentially compromising security and stability.
You should uninstall the past_hoverfly_z3n package immediately and check for any unauthorized changes in your project.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.