Malicious Code Injection in rita-83: A Threat to npm Packages
Summary
MAL-2025-164959: Malicious code in rita-83 (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-83 package is part of the npm ecosystem, commonly used for JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts that manipulate package metadata and publish unauthorized derivatives, posing a significant risk to developers and users alike.
Vulnerability Detail
The vulnerability in rita-83 originates from its association with a malicious campaign that employs autopublish scripts to generate and publish derivative packages with randomized names. This behavior not only inflates developer reputation scores for token rewards but also modifies the package.json file to remove private flags and change version numbers. The continuous republishing of these variants pollutes the npm registry, making it difficult for developers to trust the integrity of packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rita-83
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-83 package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for any unauthorized changes in the package-lock.json file.
Conclusion
The rita-83 package poses a significant risk due to its malicious behavior, which can compromise the integrity of your project. It is essential to remove this package and monitor your dependencies closely to maintain a secure development environment.
See every vulnerability recorded for rita-83 →
FAQ
Rita-83 is an npm package that has been identified as part of a malicious campaign aimed at manipulating package metadata and inflating developer reputation scores.
The vulnerability can lead to unauthorized changes in your project's dependencies, potentially compromising security and stability.
You should immediately remove the rita-83 package from your project and monitor for any unauthorized changes in your package-lock.json file.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can check if your application is affected by visiting the Vulert playground.
Regularly audit your dependencies, keep your packages updated, and utilize tools like Vulert to monitor for vulnerabilities in real-time.