Malicious Code Injection in welcome_ladybug_z3n Package - npm Vulnerability
Summary
MAL-2025-97342: Malicious code in welcome_ladybug_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 welcome_ladybug_z3n package is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The malicious nature of this package lies in its ability to manipulate the package.json file, leading to potential security risks for developers and users relying on this package.
Vulnerability Detail
The vulnerability in the welcome_ladybug_z3n package originates from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious payload alters the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior not only pollutes the npm registry but also poses a risk of unintentional dependency on compromised packages, which can lead to further exploitation and security breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall welcome_ladybug_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 workaround, you can avoid using the welcome_ladybug_z3n package altogether and replace it with a trusted alternative. Always verify the integrity and source of packages before including them in your project.
Conclusion
The welcome_ladybug_z3n package poses a significant security risk due to its malicious code designed to manipulate package metadata and flood the npm registry. It is crucial for developers to be vigilant in monitoring their dependencies and to take immediate action to remove any compromised packages.
See every vulnerability recorded for welcome_ladybug_z3n →
FAQ
The welcome_ladybug_z3n package is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the publication of derivative packages.
The vulnerability can lead to the inclusion of compromised packages in your project, which may introduce security risks and instability.
If you have installed the welcome_ladybug_z3n package, you should uninstall it immediately using the command npm uninstall welcome_ladybug_z3n.
Yes, tools like Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software. You can check your application against known vulnerabilities using the Vulert playground.
Regularly update your dependencies, use trusted packages, and utilize tools like Vulert to monitor for vulnerabilities in your project.