Malicious Code Injection in tealove-dana23: npm Package Vulnerability
Summary
MAL-2025-168229: Malicious code in tealove-dana23 (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 package tealove-dana23 is part of the tea.xyz token reward campaign that has been identified as malicious. It is designed to automatically generate and publish derivative packages with randomized names, aimed at inflating developer reputation scores for token rewards. This behavior poses a significant risk to the integrity of the npm registry and the security of applications relying on this package.
Vulnerability Detail
The vulnerability in tealove-dana23 originates from its inclusion in a campaign that floods the npm registry with malicious packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to continuous republishing of these variants. This not only pollutes the npm registry but also compromises the security of applications using these packages, potentially exposing them to further attacks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-dana23
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-dana23 package and replace it with a trusted alternative. Ensure that your package-lock.json is monitored for any other potential vulnerabilities using tools like Vulert.
Conclusion
The tealove-dana23 package poses a significant security risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your applications.
See every vulnerability recorded for tealove-dana23 →
FAQ
Tealove-dana23 is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the publication of derivative packages.
The vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
You should uninstall the package immediately using 'npm uninstall tealove-dana23' and review your dependencies for any other vulnerabilities.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time, alerting you to any issues.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.