Malicious Code Injection in vida-tomat41-ruro Package: A Threat to npm Users
Summary
MAL-2025-110514: Malicious code in vida-tomat41-ruro (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 vida-tomat41-ruro package is part of the npm ecosystem, which is widely used for managing JavaScript packages. This package is associated with the tea.xyz token reward campaign, which has been linked to a series of malicious activities aimed at inflating developer reputation scores. The package's functionality is compromised, making it a vector for malicious code that can affect users and developers alike.
Vulnerability Detail
The vulnerability in the vida-tomat41-ruro package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the automatic publication of derivative packages. The origin of this issue is tied to the tea.xyz token reward campaign, which has flooded the npm registry with such malicious packages. The ramifications include potential security risks for developers who unknowingly use these packages, as well as pollution of the npm registry with numerous unwanted variants.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vida-tomat41-ruro
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, avoid using the vida-tomat41-ruro package in your projects. Instead, look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which analyzes your package-lock.json file to alert you to any open-source vulnerabilities.
Conclusion
The vida-tomat41-ruro package poses a significant security risk due to its malicious code that alters package metadata and publishes unwanted variants. It is crucial for developers to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can aid in maintaining a secure development environment.
See every vulnerability recorded for vida-tomat41-ruro →
FAQ
The vida-tomat41-ruro package is an npm package that has been compromised with malicious code, primarily associated with the tea.xyz token reward campaign.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and the automatic publication of unwanted package variants.
You should uninstall the vida-tomat41-ruro package immediately and monitor your project for any further vulnerabilities.
Regularly audit your dependencies, keep your packages updated, and use tools like Vulert to monitor for vulnerabilities in real-time.
Vulert is a monitoring tool that uses your package-lock.json file to alert you in real-time about open-source vulnerabilities in your software, helping you maintain a secure environment.