Malicious Code Vulnerability in prepared_quail_z3n Package
Summary
MAL-2025-107221: Malicious code in prepared_quail_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 prepared_quail_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards through the automatic generation and publication of derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability in the prepared_quail_z3n package originates from its involvement in a scheme that floods the npm registry with derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which can lead to reputation inflation for developers. This behavior not only pollutes the npm registry but also poses a risk to users who may unknowingly install compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall prepared_quail_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 prepared_quail_z3n package from your project by executing the following command: npm uninstall prepared_quail_z3n. This will prevent any potential exploitation of the vulnerability until a fix is applied.
Conclusion
The prepared_quail_z3n package is compromised by malicious code that poses significant risks to users and the npm registry. It is crucial to take immediate action by updating or removing the package to safeguard your projects from potential exploitation.
See every vulnerability recorded for prepared_quail_z3n →
FAQ
The prepared_quail_z3n package is an npm package involved in the tea.xyz token reward campaign, which has been found to contain malicious code.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to security vulnerabilities and reputation inflation.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check your application using the Vulert playground without any signup.
If you cannot update the package right away, consider uninstalling it as a temporary measure to mitigate the risk of exploitation.
More information can be found in the vulnerability report on the official npm registry or by consulting security advisories related to the prepared_quail_z3n package.