Malicious Code Injection in tealoveness59: A Threat to npm Ecosystem
Summary
MAL-2025-168788: Malicious code in tealoveness59 (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 tealoveness59 is part of a broader campaign associated with the tea.xyz token reward initiative. It is designed to manipulate the npm ecosystem by flooding it with derivative packages that are automatically generated. These packages often contain scripts that aim to inflate developer reputation scores for token rewards, making them a significant threat to the integrity of the npm registry.
Vulnerability Detail
The vulnerability in tealoveness59 originates from its malicious payload, which 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. This behavior not only compromises the security of the affected packages but also pollutes the npm registry, making it difficult for developers to trust the integrity of packages they use.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealoveness59
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 tealoveness59 package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The tealoveness59 package poses a significant risk to the npm ecosystem due to its malicious behavior. It is crucial for developers to be vigilant, remove any affected packages, and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for tealoveness59 →
FAQ
Tealoveness59 is an npm package that is part of a malicious campaign aimed at manipulating the npm ecosystem for token rewards.
The vulnerability can compromise your project's security by introducing malicious code and polluting the npm registry with untrustworthy packages.
You should uninstall the package immediately using 'npm uninstall tealoveness59' and check for any other affected packages.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.