Malicious Code Injection in tealove-dana33: A Threat to npm Ecosystem
Summary
MAL-2025-168240: Malicious code in tealove-dana33 (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-dana33 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry, potentially allowing developers to earn rewards through the publication of derivative packages. However, it has been identified as containing malicious code that can compromise the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in tealove-dana33 stems 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, which can lead to the pollution of the npm registry. This behavior not only affects the reputation of developers but also poses a risk to users who may inadvertently install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-dana33
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-dana33 package and instead look for alternative packages that provide similar functionality without the associated risks. Additionally, you can use the following command to uninstall the package: npm uninstall tealove-dana33.
Conclusion
The tealove-dana33 package poses a significant risk due to its malicious code that can compromise the npm ecosystem. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their software.
See every vulnerability recorded for tealove-dana33 →
FAQ
tealove-dana33 is an npm package associated with the tea.xyz token reward campaign, which has been found to contain malicious code.
The malicious code can modify your package.json file, remove private flags, and pollute the npm registry with unwanted packages, potentially harming your project's integrity.
You should uninstall the package immediately using the command: npm uninstall tealove-dana33, and check for any other affected packages.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities without signing up at the Vulert playground.
Regularly audit your dependencies, keep your packages updated, and utilize tools like Vulert to monitor for vulnerabilities in real-time.