Malicious Code Injection in tealove-nice24: A Threat to npm Users
Summary
MAL-2025-168502: Malicious code in tealove-nice24 (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
tealove-nice24 is an npm package that is part of a broader campaign associated with the tea.xyz token reward system. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious scripts that compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability in tealove-nice24 originates from its association with a malicious campaign that floods the npm registry with derivative packages. The package includes scripts that modify the package.json file to remove private flags, change version numbers, and generate random package names. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, leading to potential 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-nice24
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-nice24 package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The tealove-nice24 package poses a significant threat to npm users due to its malicious code that modifies package metadata and floods the npm registry with compromised packages. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the security of their applications.
See every vulnerability recorded for tealove-nice24 →
FAQ
tealove-nice24 is an npm package linked to a token reward campaign that has been identified as containing malicious code.
The vulnerability can lead to the introduction of compromised packages into your application, potentially exposing it to security risks and data breaches.
If you have installed tealove-nice24, you should uninstall it immediately using 'npm uninstall tealove-nice24' and review your project's dependencies for any other compromised packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can also check your application against known vulnerabilities using the Vulert playground.
No, there is no patch available for tealove-nice24 as it is recommended to remove the package entirely due to its malicious nature.