Malicious Code Injection in current_warbler_z3n Package
Summary
MAL-2025-93893: Malicious code in current_warbler_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 current_warbler_z3n package is part of the npm ecosystem and has been identified as a component of the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been compromised to include malicious scripts that alter package metadata and publish harmful variants.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the current_warbler_z3n package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall current_warbler_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 manually inspect your package.json file and remove any references to current_warbler_z3n. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The current_warbler_z3n package has been compromised with malicious code that alters package metadata and floods the npm registry with harmful variants. It is essential to remove this package from your projects and monitor for any potential vulnerabilities using tools like Vulert. Staying informed and proactive can help safeguard your applications from such threats.
See every vulnerability recorded for current_warbler_z3n →
FAQ
current_warbler_z3n is an npm package associated with the tea.xyz token reward campaign, designed to automate the publication of derivative packages.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to security vulnerabilities in your application.
You can check your package-lock.json file or use tools like Vulert to scan your project for vulnerabilities related to current_warbler_z3n.
You should uninstall the package immediately using 'npm uninstall current_warbler_z3n' and check for any dependencies that may be affected.
Regularly monitor your dependencies using tools like Vulert, and keep your packages updated to the latest secure versions.