Malicious Code Injection in tealove-nice37: A Threat to npm Users
Summary
MAL-2025-168516: Malicious code in tealove-nice37 (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 package tealove-nice37 is part of a broader campaign associated with the tea.xyz token reward initiative. This package, like many others in the campaign, is designed to manipulate the npm registry by creating and publishing numerous derivative packages. It aims to inflate developer reputation scores in exchange for tea protocol token rewards, making it a significant concern for developers relying on npm for package management.
Vulnerability Detail
The vulnerability in tealove-nice37 stems from its malicious code that 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, which clutters the npm registry and can potentially compromise the integrity of projects that depend on these packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-nice37
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-nice37 package and replace it with a trusted alternative. Additionally, you can monitor your project for any unauthorized changes to package.json and other critical files.
Conclusion
The tealove-nice37 package poses a significant threat due to its malicious code that alters project files and inflates npm registry entries. It is crucial for developers to be vigilant, remove such packages, and utilize tools like Vulert to ensure their projects remain secure.
See every vulnerability recorded for tealove-nice37 →
FAQ
Tealove-nice37 is an npm package that is part of a malicious campaign aimed at manipulating the npm registry for token rewards.
The vulnerability can lead to unauthorized modifications in your project's dependencies, potentially compromising its security and integrity.
You can use Vulert, which monitors open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
You should uninstall the package immediately using npm uninstall tealove-nice37 and review your project's dependencies for any other vulnerabilities.
Yes, tools like Vulert can help you monitor and alert for open-source vulnerabilities in real-time using just your package-lock.json.