Malicious Code Injection in tealove-nice13 Package - npm Vulnerability
Summary
MAL-2025-168490: Malicious code in tealove-nice13 (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-nice13 package is part of the tea.xyz token reward campaign that has recently infiltrated the npm ecosystem. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to artificially inflate developer reputation scores for token rewards. Its functionality is compromised by malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in the tealove-nice13 package stems from the presence of malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The origin of this vulnerability is linked to a broader campaign aimed at polluting the npm registry, which can have serious ramifications for developers relying on npm for package management, as it undermines the integrity of the ecosystem and can lead to security risks in dependent applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-nice13
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-nice13 package altogether. If it is already included in your project, you can uninstall it using the following command: npm uninstall tealove-nice13.
Conclusion
The tealove-nice13 package poses a significant risk due to its malicious code that alters package metadata and pollutes the npm registry. Developers should take immediate action to remove this package and monitor their projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for tealove-nice13 →
FAQ
Tealove-nice13 is an npm package that is part of a malicious campaign to inflate developer reputation scores through the publication of derivative packages.
The vulnerability can lead to the pollution of the npm registry, potentially introducing security risks and instability in your project due to the presence of malicious code.
You should uninstall the tealove-nice13 package immediately to mitigate any risks associated with its malicious code.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check if your application is affected by this vulnerability using the Vulert playground.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by the tealove-nice13 vulnerability without needing to sign up.