Malicious Code Injection in tealove-dana43: A Threat to npm Ecosystem
Summary
MAL-2025-168251: Malicious code in tealove-dana43 (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-dana43 is part of the tea.xyz token reward campaign that has infiltrated the npm ecosystem. It is designed to generate and publish derivative packages with randomized names, aiming to inflate developer reputation scores for token rewards. This package, like others in the campaign, includes scripts that automate the publishing process, making it a significant threat to the integrity of the npm registry.
Vulnerability Detail
The vulnerability in tealove-dana43 stems from its malicious payload that 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, polluting the npm registry and potentially compromising the security of applications that depend on these packages. The origin of this vulnerability is linked to the broader tea.xyz token reward campaign, which exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-dana43
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 use the following command to prevent the installation of the vulnerable package: npm install --no-save tealove-dana43. However, the best approach is to remove the package entirely and replace it with a secure alternative.
Conclusion
The tealove-dana43 package poses a significant threat to the npm ecosystem due to its malicious behavior of modifying package files and republishing variants. It is crucial for developers to be vigilant about the packages they use and to regularly check for vulnerabilities. Utilizing tools like Vulert can help in monitoring and securing your applications against such threats.
See every vulnerability recorded for tealove-dana43 →
FAQ
Tealove-dana43 is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through automated publishing of derivative packages.
The vulnerability can lead to the installation of malicious packages that may compromise your application's security and integrity by polluting the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without requiring any signup.
You should uninstall the package immediately using the command: npm uninstall tealove-dana43 and review your dependencies for any other potentially malicious packages.
There are no patches available for tealove-dana43 as it is a malicious package. The best course of action is to remove it from your project.