Malicious Code Injection in partial_warbler_z3n: A Threat to npm Packages
Summary
MAL-2025-95847: Malicious code in partial_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 package 'partial_warbler_z3n' is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. This behavior aims to inflate developer reputation scores for rewards associated with the tea protocol, making it a significant concern for developers relying on npm for package management.
Vulnerability Detail
The vulnerability in 'partial_warbler_z3n' stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This not only pollutes the npm registry but also poses a risk of unintentional dependency on these malicious packages, potentially compromising the security and integrity of applications that utilize them.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall partial_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, avoid using the 'partial_warbler_z3n' package and monitor your dependencies for any malicious activity. You can also use tools like Vulert to check for vulnerabilities in your application. To check if your application is affected by this vulnerability, you can use the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The 'partial_warbler_z3n' package poses a significant threat due to its malicious code that alters package configurations and floods the npm registry. It is crucial for developers to remove this package and monitor their dependencies to maintain the security of their applications.
See every vulnerability recorded for partial_warbler_z3n →
FAQ
'partial_warbler_z3n' is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through automated publishing of derivative packages.
The vulnerability can lead to the pollution of the npm registry and may result in your application unintentionally depending on malicious packages, compromising its security.
You should uninstall the package immediately using 'npm uninstall partial_warbler_z3n' and ensure your package-lock.json file is updated.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by vulnerabilities without requiring any signup.