Malicious Code Injection in tealoveness46: A Threat to npm Packages
Summary
MAL-2025-168774: Malicious code in tealoveness46 (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
tealoveness46 is a package within the npm ecosystem that is part of a broader campaign associated with the tea.xyz token rewards. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores in exchange for token rewards. However, its functionality has been compromised, leading to significant security concerns.
Vulnerability Detail
The vulnerability in tealoveness46 originates from its design as part of a malicious campaign that floods the npm registry with derivative packages. It contains scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only pollutes the npm registry but also poses risks to developers who may unknowingly install these compromised packages, potentially leading to further exploitation or data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealoveness46
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 measure, avoid using tealoveness46 and any packages that depend on it. Regularly audit your project's dependencies to identify and remove any potentially harmful packages. You can also use tools like Vulert to monitor your project for vulnerabilities.
Conclusion
The tealoveness46 package poses a significant security risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to be vigilant, regularly audit their dependencies, and utilize tools like Vulert to safeguard their projects against such vulnerabilities.
See every vulnerability recorded for tealoveness46 →
FAQ
tealoveness46 is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the installation of compromised packages that may contain malicious code, potentially resulting in data breaches or further exploitation.
You should uninstall tealoveness46 immediately using 'npm uninstall tealoveness46' and audit your project's dependencies for any other malicious packages.
Regularly update your dependencies, use trusted packages, and employ tools like Vulert to monitor your project for vulnerabilities.
Vulert is a tool that monitors and alerts you in real-time for open-source vulnerabilities in your software. You can check if your application is affected by vulnerabilities using the Vulert playground without any signup.