Malicious Code Injection in rita-68: A Threat to npm Ecosystem
Summary
MAL-2025-164942: Malicious code in rita-68 (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-68 is part of the npm ecosystem and has been identified as a component of the tea.xyz token reward campaign. This campaign has been known to flood the npm registry with malicious packages that are designed to inflate developer reputation scores through automated publishing scripts. The rita-68 package, like others in this campaign, is engineered to manipulate package metadata and continuously republish variants, posing a significant risk to developers and users relying on npm packages.
Vulnerability Detail
The vulnerability in rita-68 originates from its malicious design, which includes scripts that modify the package.json file to remove private flags and alter version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to developers unknowingly using compromised packages, which may introduce security risks and degrade the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rita-68
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-68 package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The rita-68 package poses a significant threat due to its malicious design aimed at manipulating the npm registry. It is crucial for developers to be aware of such vulnerabilities and take immediate action to remove affected packages and monitor their projects for security risks. Utilizing tools like Vulert can enhance your ability to maintain a secure development environment.
See every vulnerability recorded for rita-68 →
FAQ
Rita-68 is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores through automated publishing.
The vulnerability can lead to the introduction of malicious code into your project, compromising its security and integrity.
You should uninstall the rita-68 package immediately using 'npm uninstall rita-68' and check for any alternative packages.
You can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities by analyzing 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 any signup.