Malicious Code Injection in tealove-nanami15: A Threat to npm Packages
Summary
MAL-2025-168443: Malicious code in tealove-nanami15 (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-nanami15 is part of the tea.xyz token reward campaign that has infiltrated the npm ecosystem. It is designed to automate the generation and publication of derivative packages, which can mislead developers and inflate reputation scores for token rewards. This package, like others in its category, is susceptible to exploitation due to its inherent design flaws and malicious intent.
Vulnerability Detail
The vulnerability in tealove-nanami15 stems from its malicious code that modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants, leading to pollution of the npm registry. This not only affects the integrity of the npm ecosystem but can also mislead developers into using compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-nanami15
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 prevent the installation of tealove-nanami15 by using npm's package-lock.json to monitor dependencies. Ensure that you do not install any packages that depend on tealove-nanami15 until a secure version is released.
Conclusion
The tealove-nanami15 package poses a significant risk to the npm ecosystem due to its malicious code that modifies package metadata and repackages itself. It is essential for developers to be vigilant and remove such packages to maintain the integrity of their applications. Utilizing tools like Vulert can help in monitoring and preventing such vulnerabilities.
See every vulnerability recorded for tealove-nanami15 →
FAQ
Tealove-nanami15 is an npm package that is part of a malicious campaign designed to inflate developer reputation scores through automated package publishing.
The vulnerability can lead to the installation of compromised packages, which may contain malicious code that can affect your application's integrity and security.
You should uninstall the package immediately using the command npm uninstall tealove-nanami15 and check for any dependencies that may rely on it.
Yes, tools like Vulert can monitor your package-lock.json file to alert you in real-time for open-source vulnerabilities without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.