Malicious Code Injection in tealove-nice14 Package: A Threat to npm Users
Summary
MAL-2025-168491: Malicious code in tealove-nice14 (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-nice14 package is part of a broader campaign associated with the tea.xyz token reward initiative. This package is designed to facilitate the automatic generation and publication of derivative npm packages. It aims to inflate developer reputation scores to earn rewards in the tea protocol. However, its malicious nature compromises the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in the tealove-nice14 package stems from its inclusion in a malicious campaign that utilizes autopublish scripts to manipulate package.json files. These scripts remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses risks such as unauthorized access to sensitive data and potential exploitation of affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-nice14
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 remove the tealove-nice14 package from your project by executing: npm uninstall tealove-nice14. This will prevent any malicious activity associated with this package until a fix is applied.
Conclusion
The tealove-nice14 package poses a significant threat to npm users due to its malicious code that manipulates package metadata and republishing behavior. It is crucial to take immediate action by updating or removing the package to safeguard your projects and maintain the integrity of the npm ecosystem.
See every vulnerability recorded for tealove-nice14 →
FAQ
The tealove-nice14 package is part of a token reward campaign that automates the creation and publication of npm packages to inflate developer reputation scores.
The vulnerability can lead to the pollution of the npm registry and may expose your project to unauthorized access and exploitation.
You should uninstall the package immediately and check for any unauthorized changes in your project.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without needing to sign up.