Malicious Code Injection in tealove-darknest11 Package
Summary
MAL-2025-168266: Malicious code in tealove-darknest11 (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-darknest11 package is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem. This package is designed to automate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. Its functionality is primarily centered around publishing scripts that can manipulate package metadata.
Vulnerability Detail
The vulnerability in the tealove-darknest11 package stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of other packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which employs such tactics to manipulate npm's reputation system.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-darknest11
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 package from being installed by adding it to your .npmrc file with the following line: package-lock=false. This will help avoid the installation of any malicious packages until a fix is implemented.
Conclusion
The tealove-darknest11 package poses a significant risk due to its malicious code that modifies package metadata and repopulates the npm registry with harmful variants. It is essential to remove this package from your project and monitor for any updates or patches that may address this vulnerability.
See every vulnerability recorded for tealove-darknest11 →
FAQ
Tealove-darknest11 is an npm package associated with the tea.xyz token reward campaign, designed to automate the publication of derivative packages.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project's dependencies, potentially introducing malicious code.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
If you have installed the tealove-darknest11 package, you should uninstall it immediately using npm uninstall tealove-darknest11.
Currently, there is no patched version available for the tealove-darknest11 package. It is recommended to remove the package entirely.