Malicious Code Injection in rita-55: A Threat to npm Ecosystem
Summary
MAL-2025-164928: Malicious code in rita-55 (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 package rita-55 is part of the npm ecosystem, which is widely used for JavaScript package management. It is designed to facilitate the development and sharing of JavaScript libraries and applications. However, rita-55 has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to significant security concerns.
Vulnerability Detail
The vulnerability in rita-55 stems from its association with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that automatically 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.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rita-55
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-55 package altogether until a secure version is released. Additionally, consider using npm audit to identify and mitigate vulnerabilities in your project: npm audit.
Conclusion
The rita-55 package poses a significant security risk due to its malicious code injection capabilities. Developers should take immediate action to update or remove this package to protect their projects. Utilizing tools like npm audit and Vulert can help maintain the security of your applications.
See every vulnerability recorded for rita-55 →
FAQ
rita-55 is an npm package that is part of a malicious campaign aimed at flooding the npm registry with compromised packages.
The vulnerability can lead to the installation of malicious code, which may compromise your project's integrity and security.
If you have installed rita-55, you should immediately update the package or remove it from your project to mitigate the risk.
You can use tools like npm audit to check for vulnerabilities in your packages. Additionally, Vulert offers real-time monitoring for open-source vulnerabilities using your package-lock.json.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.