Malicious Code Injection in tealove-dana50: A Threat to npm Users
Summary
MAL-2025-168259: Malicious code in tealove-dana50 (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-dana50 is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with malicious packages. These packages are designed to inflate developer reputation scores through the automatic generation and publication of derivative packages. The functionality of tealove-dana50 is compromised by its malicious intent, making it a significant risk for developers using npm.
Vulnerability Detail
The vulnerability in tealove-dana50 originates from its inclusion in a campaign that utilizes autopublish scripts to create and publish numerous derivative packages with randomized names. This malicious behavior modifies the package.json file by removing private flags, altering version numbers, and continuously republishing variants to pollute the npm registry. The ramifications include potential reputation damage for developers and the risk of introducing insecure packages into projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-dana50
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 measure, avoid using the tealove-dana50 package and monitor your project's dependencies for any unauthorized changes. Regularly check your package-lock.json file for any unexpected modifications.
Conclusion
The tealove-dana50 package poses a significant threat due to its malicious code designed to manipulate npm packages for reputation inflation. It is crucial for developers to remove this package from their projects and monitor their dependencies for any unauthorized changes. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for tealove-dana50 →
FAQ
Tealove-dana50 is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the introduction of insecure packages into your project, potentially compromising its security and integrity.
You should uninstall the package immediately using the command npm uninstall tealove-dana50 and check your project for any unauthorized changes.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using your package-lock.json file. You can also check if your application is affected by this vulnerability using the Vulert playground.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring any signup.