Malicious Code Injection in rita-63 Package: A Threat to npm Ecosystem
Summary
MAL-2025-164937: Malicious code in rita-63 (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-63 package is part of the npm ecosystem, which is widely used for JavaScript package management. It is often utilized in various applications to enhance functionality and streamline development processes. However, this package has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to significant security risks.
Vulnerability Detail
The vulnerability in the rita-63 package stems from its association with the tea.xyz token reward campaign. This package includes malicious scripts designed to automatically generate and publish derivative packages with randomized names, which can inflate developer reputation scores for token rewards. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and continuously republishing variants, thereby polluting the npm registry and potentially compromising other packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rita-63
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 rita-63 package from your project by executing the command: npm uninstall rita-63. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The rita-63 package poses a significant security threat due to its malicious code designed to exploit npm's publishing system. It is essential for developers to take immediate action by updating or removing the package and to utilize tools like Vulert for ongoing vulnerability monitoring.
See every vulnerability recorded for rita-63 →
FAQ
Rita-63 is an npm package used in JavaScript development, but it has been compromised with malicious code.
The vulnerability can lead to the automatic generation of malicious packages, which can compromise your application's integrity and security.
You should uninstall the rita-63 package immediately and monitor for any updates or patches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without needing to sign up.