Malicious Code Injection in tealove-lady9: A Threat to npm Packages
Summary
MAL-2025-168363: Malicious code in tealove-lady9 (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
Tealove-lady9 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the distribution of derivative packages, which are generated automatically to inflate developer reputation scores for rewards. The package's functionality is compromised due to its malicious nature, which leads to the pollution of the npm registry.
Vulnerability Detail
The vulnerability in tealove-lady9 originates from its malicious code that modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior is intended to continuously republish variants of the package, thereby flooding the npm registry and potentially harming developers' reputations and the integrity of the ecosystem. The malicious payload can lead to unauthorized access and manipulation of projects that depend on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-lady9
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, consider using alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time. 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 tealove-lady9 package poses a significant threat due to its malicious code that alters project files and floods the npm registry. It is crucial for developers to remove this package from their projects and utilize tools like Vulert to monitor for vulnerabilities effectively.
See every vulnerability recorded for tealove-lady9 →
FAQ
Tealove-lady9 is an npm package involved in the tea.xyz token reward campaign, which has been identified as malicious.
The vulnerability modifies package.json files, removes private flags, and generates random package names, leading to pollution of the npm registry.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability.
You should uninstall the tealove-lady9 package immediately using the command npm uninstall tealove-lady9.
Yes, Vulert can monitor your dependencies for vulnerabilities in real-time using just your package-lock.json file.