Malicious Code Injection in rita-73: A Threat to npm Ecosystem
Summary
MAL-2025-164948: Malicious code in rita-73 (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-73 is part of the npm ecosystem, which is widely used for JavaScript package management. 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 designed to manipulate package metadata and inflate developer reputation scores, posing a significant risk to developers and users alike.
Vulnerability Detail
The vulnerability in rita-73 originates from its association with the tea.xyz token reward campaign. The package includes malicious scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the integrity of the ecosystem. The ramifications include potential exposure of sensitive data and disruption of legitimate package management processes.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rita-73
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 prevent the installation of the rita-73 package by using npm's package-lock.json file to monitor dependencies. Ensure that your project does not include rita-73 or any of its derivatives. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities in real-time.
Conclusion
The rita-73 package poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata and repopulates the registry with harmful variants. It is crucial for developers to remove this package and monitor their projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for rita-73 →
FAQ
Rita-73 is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The vulnerability can lead to the exposure of sensitive data and compromise the integrity of your project's dependencies.
You should uninstall the package immediately using the command: npm uninstall rita-73.
Yes, you can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability.