Malicious Code Injection in rita-60 Package - npm Vulnerability
Summary
MAL-2025-164934: Malicious code in rita-60 (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 rita-60 package is part of the npm ecosystem, primarily used for various JavaScript applications. It is designed to facilitate functionalities related to the tea.xyz token reward campaign. However, this package has been identified as containing malicious code that compromises its integrity and the security of applications that depend on it.
Vulnerability Detail
The vulnerability in the rita-60 package originates from its association with the tea.xyz token reward campaign, which has been known to flood npm with malicious packages. The malicious payload within rita-60 modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior is intended to inflate developer reputation scores and pollute the npm registry, potentially leading to further exploitation and security risks for users.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rita-60
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 rita-60 package and replace it with an alternative package that provides similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file for any unauthorized changes.
Conclusion
The rita-60 package has been identified as containing malicious code that poses significant security risks. Users are advised to remove the package and monitor their applications for any unauthorized changes. Utilizing tools like Vulert can help in maintaining the security of your open-source dependencies.
See every vulnerability recorded for rita-60 →
FAQ
The rita-60 package is a JavaScript package in the npm ecosystem, associated with the tea.xyz token reward campaign.
The vulnerability can lead to unauthorized modifications in your package.json file, potentially compromising your application's security and integrity.
You should immediately remove the rita-60 package from your project and monitor for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.