Malicious Code Injection in mass_ladybug_z3n Package: npm Vulnerability Overview
Summary
MAL-2025-88316: Malicious code in mass_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 mass_ladybug_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores, posing a significant risk to users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the mass_ladybug_z3n package originates from its association with a malicious campaign that modifies the package.json file. This modification removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The ramifications include compromised package integrity, potential security risks for applications relying on this package, and a degraded reputation for developers involved in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mass_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 temporary workaround, you can prevent the installation of the mass_ladybug_z3n package by using the npm shrinkwrap feature or by specifying exact versions of dependencies in your package.json to avoid pulling in this malicious package.
Conclusion
The mass_ladybug_z3n package has been identified as part of a malicious campaign that poses significant risks to the npm ecosystem. It is essential for developers to remain vigilant, update their packages, and utilize tools like Vulert to monitor for vulnerabilities in real-time.
See every vulnerability recorded for mass_ladybug_z3n →
FAQ
The mass_ladybug_z3n package is an npm package that is part of a malicious campaign aimed at manipulating package metadata for token rewards.
This vulnerability can compromise the integrity of your application by introducing malicious code and altering package metadata, which may lead to security risks.
If you have installed the mass_ladybug_z3n package, you should update it to a patched version or remove it from your project to mitigate the risk.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities in your software.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.