Malicious Code Injection in tealove-nice16 Package
Summary
MAL-2025-168493: Malicious code in tealove-nice16 (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-nice16 package is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with malicious packages. These packages are designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior not only affects the integrity of the npm registry but also poses a significant risk to developers who may unknowingly use these compromised packages.
Vulnerability Detail
The vulnerability in the tealove-nice16 package originates from its inclusion in a malicious campaign that modifies the package.json file to remove private flags and changes version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes variants to pollute the npm registry. This can lead to developers inadvertently using compromised packages, which may contain harmful code or lead to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-nice16
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-nice16 package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package-lock.json file for vulnerabilities in real-time.
Conclusion
The tealove-nice16 package poses a significant risk due to its malicious behavior of modifying package files and republishing variants. It is crucial for developers to be vigilant about the packages they use and to regularly check for vulnerabilities. Utilizing tools like Vulert can help in maintaining the security of your applications.
See every vulnerability recorded for tealove-nice16 →
FAQ
The tealove-nice16 package is part of a malicious campaign that aims to inflate developer reputation scores through the npm registry.
Using the tealove-nice16 package can lead to the introduction of malicious code into your application, potentially compromising its security.
You should uninstall the tealove-nice16 package immediately using 'npm uninstall tealove-nice16' and check for any other affected packages.
You can use Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time, alerting you to any issues.
Yes, you should look for alternative packages that provide similar functionality without the associated risks of malicious behavior.