Malicious Code Injection in tealove-nameka24: A Threat to npm Packages
Summary
MAL-2025-168406: Malicious code in tealove-nameka24 (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-nameka24 is part of the tea.xyz token reward campaign that has infiltrated the npm ecosystem. It is designed to generate and publish derivative packages with randomized names, aimed at inflating developer reputation scores for token rewards. This package, like many others in the campaign, utilizes scripts that automate the publishing process, leading to potential pollution of the npm registry.
Vulnerability Detail
The vulnerability in tealove-nameka24 originates from its malicious design to modify package.json files by removing private flags and changing version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly rely on these tainted packages, leading to potential security breaches and reputation damage.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-nameka24
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-nameka24 package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your npm packages using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The tealove-nameka24 package poses a significant threat due to its malicious code designed to manipulate npm packages. It is essential for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. Taking immediate action to remove affected packages can help safeguard your projects.
See every vulnerability recorded for tealove-nameka24 →
FAQ
Tealove-nameka24 is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through automated publishing of derivative packages.
The vulnerability can lead to the inclusion of malicious code in your project, potentially compromising security and integrity, as well as polluting the npm registry.
You should uninstall the package immediately using npm uninstall tealove-nameka24 and check for any dependencies that may be affected.
You can use tools like npm audit or services like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.