Malicious Code Injection in melodic_bee_z3n Package
Summary
MAL-2025-95434: Malicious code in melodic_bee_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 melodic_bee_z3n package is part of the npm ecosystem, often utilized in various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. This package, like others in the campaign, is designed to manipulate developer reputation scores through automated publishing of derivative packages.
Vulnerability Detail
The vulnerability in the melodic_bee_z3n package stems from its inclusion in a malicious campaign that deploys scripts to automatically generate and publish numerous derivative packages. These scripts modify the package.json file to remove private flags, alter version numbers, and create random package names, leading to pollution of the npm registry. The malicious behavior can compromise the integrity of applications relying on this package and may lead to security risks such as unauthorized access or data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall melodic_bee_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 the melodic_bee_z3n package by using the following command to uninstall it: npm uninstall melodic_bee_z3n. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which analyzes your package-lock.json file for real-time alerts on open-source vulnerabilities.
Conclusion
The melodic_bee_z3n package is compromised by malicious code that can significantly impact applications using it. It is crucial to take immediate action by updating or removing the package to safeguard your project from potential threats. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for melodic_bee_z3n →
FAQ
melodic_bee_z3n is an npm package associated with the tea.xyz token reward campaign, which has been linked to malicious activities in the npm ecosystem.
The vulnerability can lead to the injection of malicious code, compromising the integrity of your application and potentially exposing it to security risks.
You should update the package to a patched version if available or uninstall it from your project to mitigate the risk.
You can use Vulert, which allows you to monitor and alert for open-source vulnerabilities in your software by analyzing the package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.