Malicious Code Injection in tealove-aruma3 Package
Summary
MAL-2025-168085: Malicious code in tealove-aruma3 (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 tealove-aruma3 package is part of the tea.xyz token reward campaign, which has been associated with a series of malicious npm packages. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The functionality of tealove-aruma3 is compromised due to its malicious payload that modifies critical files, leading to potential security risks for users and developers.
Vulnerability Detail
The vulnerability in the tealove-aruma3 package originates from its design to include autopublish scripts that manipulate the package.json file. This manipulation removes private flags, alters version numbers, and generates random package names, which can lead to the pollution of the npm registry. The ramifications include unauthorized access to sensitive information and the potential for further exploitation of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tealove-aruma3
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 remove the tealove-aruma3 package from your project by executing the command: npm uninstall tealove-aruma3. This will prevent the malicious code from executing until a secure version is available.
Conclusion
The tealove-aruma3 package presents a significant security risk due to its malicious code designed to manipulate package files. It is essential for developers to take immediate action by uninstalling the package and monitoring their projects for vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your applications.
See every vulnerability recorded for tealove-aruma3 →
FAQ
Tealove-aruma3 is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially exposing your project to further security risks.
If you have installed tealove-aruma3, it is crucial to uninstall it immediately and monitor your project for any unauthorized changes.
Yes, you can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.