Malicious Code Injection in tealove-nameka3: A Threat to npm Packages
Summary
MAL-2025-168412: Malicious code in tealove-nameka3 (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-nameka3 is a package associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous derivative packages. These packages typically include scripts that automate the generation and publication of new packages, often with randomized names. This behavior is designed to inflate developer reputation scores for token rewards, but it also poses significant risks to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in tealove-nameka3 originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This results in the continuous republishing of variants, polluting the npm registry and potentially compromising the security of applications that depend on these packages. The malicious code can lead to unauthorized access, data breaches, and a loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-nameka3
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-nameka3 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-nameka3 package poses a significant security risk due to its malicious code that alters package configurations and floods the npm registry. It is essential to remove this package from your projects and monitor for vulnerabilities using tools like Vulert to maintain the integrity of your applications.
See every vulnerability recorded for tealove-nameka3 →
FAQ
tealove-nameka3 is an npm package linked to the tea.xyz token reward campaign, known for flooding the npm registry with malicious packages.
The vulnerability can lead to unauthorized modifications in your package.json file, potentially compromising your application's security and integrity.
You should uninstall the package immediately using 'npm uninstall tealove-nameka3' and check for any other affected packages.
You can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities using just your package-lock.json file. You can check your application for vulnerabilities at the Vulert playground without any signup.
Yes, consider using other reputable packages that provide similar functionality without the risks associated with tealove-nameka3.