Malicious Code Injection in tealove-boy47: A Threat to npm Packages
Summary
MAL-2025-168155: Malicious code in tealove-boy47 (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-boy47 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards through various automated scripts. However, it has been identified as a malicious package that modifies its own metadata and publishes derivative versions, which can lead to reputation inflation and pollution of the npm registry.
Vulnerability Detail
The vulnerability in tealove-boy47 originates from its malicious intent to alter package.json files by removing private flags, changing version numbers, and generating random package names. This behavior not only compromises the integrity of the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, leading to potential security breaches and loss of trust in the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-boy47
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-boy47 package and instead look for alternative packages that provide similar functionality without the associated risks. Additionally, you can use the following command to audit your npm packages for vulnerabilities: 'npm audit'.
Conclusion
The tealove-boy47 package poses significant risks due to its malicious code that alters package metadata and publishes harmful derivatives. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for tealove-boy47 →
FAQ
tealove-boy47 is an npm package associated with the tea.xyz token reward campaign, which has been identified as malicious.
The vulnerability can lead to the modification of your project's package.json file and the introduction of potentially harmful packages, compromising your project's integrity.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner without any signup.
You should uninstall the package immediately using 'npm uninstall tealove-boy47' and review your project for any dependencies that may be affected.
No, there are no patches available for tealove-boy47 as it is a malicious package. The best course of action is to remove it from your project.