Malicious Code Injection in tealove-nanami27: npm Package Vulnerability
Summary
MAL-2025-168456: Malicious code in tealove-nanami27 (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-nanami27 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry and is intended for developers looking to participate in token rewards. However, it has been identified as containing malicious code that can compromise the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in tealove-nanami27 originates from its association with a campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the pollution of the npm registry. This can result in a loss of developer reputation and potential security risks for applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-nanami27
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 monitor your package dependencies using tools like Vulert. By utilizing Vulert, you can check for vulnerabilities in your application without needing to access the code or installation. You can use the Vulert playground at https://vulert.com/scanner to see if your application is affected by this vulnerability.
Conclusion
The tealove-nanami27 npm package has been identified as containing malicious code that can compromise the integrity of your application. It is crucial to uninstall this package and monitor your dependencies for vulnerabilities using tools like Vulert to ensure the security of your software.
See every vulnerability recorded for tealove-nanami27 →
FAQ
tealove-nanami27 is an npm package associated with the tea.xyz token reward campaign, which has been found to contain malicious code.
The malicious code can alter your package.json file, remove private flags, and generate random package names, leading to potential security risks and pollution of the npm registry.
You should uninstall the package immediately by running 'npm uninstall tealove-nanami27' in your terminal.
Yes, you can use Vulert to monitor your package dependencies for vulnerabilities in real-time without needing to access the code or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by the tealove-nanami27 vulnerability.