Malicious Code Injection in tealove-nanami10: A Threat to npm Ecosystem
Summary
MAL-2025-168438: Malicious code in tealove-nanami10 (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-nanami10 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate automatic publishing of derivative packages, which can inflate developer reputation scores in exchange for tea protocol token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in tealove-nanami10 originates from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to a significant increase in spam packages, affecting developers and users relying on the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-nanami10
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 workaround, you can use the following command to check for vulnerabilities in your project: npm audit. This will help you identify any affected packages and take necessary actions.
Conclusion
The tealove-nanami10 package poses a significant risk to the npm ecosystem due to its malicious code that modifies package metadata and floods the registry with spam. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities.
See every vulnerability recorded for tealove-nanami10 →
FAQ
tealove-nanami10 is an npm package associated with the tea.xyz token reward campaign, designed to automate the publishing of derivative packages.
The vulnerability can lead to the proliferation of spam packages in the npm registry, which may affect the integrity and reliability of your project's dependencies.
You should uninstall the tealove-nanami10 package immediately using the command: npm uninstall tealove-nanami10.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.