Malicious Code Injection in rita-88: A Threat to npm Ecosystem
Summary
MAL-2025-164964: Malicious code in rita-88 (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-88 package is part of the npm ecosystem, which is widely used for JavaScript package management. It is designed to facilitate the development and distribution of JavaScript applications. However, rita-88 has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to the proliferation of harmful packages that can compromise developer reputations and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in rita-88 stems from its association with the tea.xyz token reward campaign, which has been flooding npm with malicious packages. These packages contain scripts that automatically generate and publish derivative packages with randomized names, effectively inflating developer reputation scores for token rewards. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants, polluting the npm registry and potentially affecting other developers and users.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rita-88
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-88 package and consider alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The rita-88 package poses a significant threat to the npm ecosystem due to its malicious code that inflates developer reputation scores and pollutes the npm registry. It is crucial for developers to remove this package and stay vigilant about their dependencies to maintain the integrity of their projects.
See every vulnerability recorded for rita-88 →
FAQ
Rita-88 is an npm package that has been identified as part of a malicious campaign targeting the npm ecosystem.
The vulnerability can lead to the proliferation of malicious packages, compromising your project's integrity and potentially affecting your reputation as a developer.
You should remove the rita-88 package from your project and monitor for any updates or patches that may be released.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.