Malicious Code Injection in premier_quail_z3n Package
Summary
MAL-2025-107215: Malicious code in premier_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 premier_quail_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. It is designed to facilitate the automatic generation and publication of derivative packages. However, this package has been identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is aimed at inflating developer reputation scores for token rewards, leading to pollution of the npm registry with potentially harmful packages. The presence of autopublish scripts indicates an automated process that can continuously republish variants, exacerbating the issue.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall premier_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 prevent the installation of this package by using npm's package-lock.json file to monitor dependencies. You can also utilize tools like Vulert to check for vulnerabilities in your project without requiring access to the code or installation. To check if your application is affected, visit the Vulert playground at https://vulert.com/scanner.
Conclusion
The premier_quail_z3n package has been identified as containing malicious code that poses a significant risk to the integrity of npm packages. It is crucial to remove this package from your project and utilize tools like Vulert to monitor for vulnerabilities in real-time.
See every vulnerability recorded for premier_quail_z3n →
FAQ
The premier_quail_z3n package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The malicious code modifies your package.json file, potentially leading to the installation of insecure packages and polluting the npm registry.
You should uninstall the premier_quail_z3n package immediately using the command 'npm uninstall premier_quail_z3n' and check for any dependencies that may be affected.
Yes, you can use tools like Vulert to monitor your package-lock.json file for vulnerabilities and receive real-time alerts for any open-source vulnerabilities.
You can find detailed information about this vulnerability in the vulnerability report provided by Amazon Inspector and on platforms like Vulert.