Malicious Code Injection in tealove-lady12: A Threat to npm Ecosystem
Summary
MAL-2025-168317: Malicious code in tealove-lady12 (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-lady12 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry and is typically used for publishing and managing JavaScript packages. However, it has been identified as containing malicious code that exploits its functionality to manipulate package metadata and inflate developer reputation scores.
Vulnerability Detail
The vulnerability in tealove-lady12 originates from its inclusion in a campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can potentially compromise the integrity of other packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-lady12
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 avoid using the tealove-lady12 package and replace it with a trusted alternative. Additionally, regularly audit your dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The tealove-lady12 package poses a significant threat due to its malicious code that manipulates package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the security of their applications.
See every vulnerability recorded for tealove-lady12 →
FAQ
tealove-lady12 is an npm package associated with the tea.xyz token reward campaign, which has been found to contain malicious code.
The vulnerability can lead to the pollution of the npm registry, affecting the integrity of other packages and potentially compromising your project's security.
You should remove the tealove-lady12 package from your project immediately and check for any dependencies that may have been affected.
You can use tools like npm audit or services like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.