Malicious Code Injection in tealove-dana28: A Threat to npm Packages
Summary
MAL-2025-168234: Malicious code in tealove-dana28 (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-dana28 is part of a broader campaign targeting the npm ecosystem, specifically linked to the tea.xyz token reward initiative. This package is designed to interact with the npm registry, potentially affecting developers by inflating reputation scores through the automatic generation of derivative packages. Its functionality is compromised by malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in tealove-dana28 originates from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious payload alters the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior not only pollutes the npm registry but also poses risks to developers who may unknowingly use these compromised packages, leading to potential security breaches and loss of trust in the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-dana28
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-dana28 package and replace it with a trusted alternative. Additionally, consider using npm audit to identify and address vulnerabilities in your project's dependencies.
Conclusion
The tealove-dana28 package poses a significant risk due to its malicious behavior, which can compromise the integrity of npm projects. It is essential to take proactive measures to remove the package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for tealove-dana28 →
FAQ
tealove-dana28 is an npm package associated with a malicious campaign that aims to inflate developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising security and functionality.
Immediately remove the package from your project and check for any other affected dependencies. Use npm audit to identify vulnerabilities.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just package-lock.json. You can check your application for vulnerabilities without any signup at the Vulert playground.
If no direct replacement is available, consider reaching out to the community for recommendations or explore alternative libraries that provide similar functionality.