Malicious Code Injection in tealove-dana46 Package - npm Vulnerability
Summary
MAL-2025-168254: Malicious code in tealove-dana46 (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 tealove-dana46 package is part of a broader campaign associated with the tea.xyz token reward system, which has been known to flood the npm ecosystem with malicious packages. This package is designed to manipulate npm's package management system, potentially affecting developers' reputations and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the tealove-dana46 package stems from its inclusion in a malicious campaign that utilizes autopublish scripts to generate and publish derivative packages with randomized names. This behavior modifies the package.json file by removing private flags, altering version numbers, and continuously republishing variants, which can lead to pollution of the npm registry and compromise the security of dependent applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-dana46
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, you can prevent the installation of this package by using npm's package-lock.json to monitor dependencies. Ensure that your project does not include tealove-dana46 in its dependencies. You can also use the following command to uninstall it if already installed: npm uninstall tealove-dana46.
Conclusion
The tealove-dana46 package poses a significant risk due to its malicious behavior aimed at manipulating the npm registry. It is crucial for developers to remove this package from their projects and to monitor their dependencies for any vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for tealove-dana46 →
FAQ
Tealove-dana46 is an npm package that is part of a malicious campaign aimed at manipulating the npm registry for token rewards.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your application's dependencies.
You should uninstall the package immediately using the command: npm uninstall tealove-dana46.
Currently, there is no patched version available for the tealove-dana46 package, so removal is the best course of action.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground without any signup.