Malicious Code Injection in tealove-lady3: A Threat to npm Users
Summary
MAL-2025-168336: Malicious code in tealove-lady3 (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-lady3 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the distribution of token rewards by generating and publishing derivative packages. However, it has been identified as containing malicious code that compromises the integrity of the npm registry and can affect developers' reputation scores.
Vulnerability Detail
The vulnerability in tealove-lady3 originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the automatic generation and publication of numerous derivative packages, effectively polluting the npm registry and potentially harming developers' reputations. The malicious scripts included in the package (auto.js, autopublish.js, etc.) are designed to automate these actions without user consent.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-lady3
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 tealove-lady3 package by using npm's package-lock.json file to monitor dependencies. Ensure that your project does not include this package by checking your package-lock.json for any references to tealove-lady3 and removing them if present.
Conclusion
The tealove-lady3 package poses a significant risk due to its malicious code that can compromise the npm registry and affect developers' reputations. It is crucial to uninstall this package and monitor your dependencies for any vulnerabilities. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for tealove-lady3 →
FAQ
tealove-lady3 is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the automatic generation of numerous malicious packages, which can pollute the npm registry and negatively impact your project's reputation.
You should uninstall the package immediately using 'npm uninstall tealove-lady3' to mitigate any potential risks.
Yes, you can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.