Malicious Code Injection in rita-69 Package: A Threat to npm Ecosystem
Summary
MAL-2025-164943: Malicious code in rita-69 (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-69 package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages. It aims to inflate developer reputation scores for token rewards, making it a target for malicious actors. The package's functionality includes creating random package names and modifying existing package metadata, which can lead to significant issues within the npm registry.
Vulnerability Detail
The vulnerability in the rita-69 package stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, which can lead to the pollution of the npm registry. This behavior is indicative of a broader trend where malicious packages are used to exploit the npm ecosystem for personal gain, potentially affecting developers' reputations and the integrity of the registry.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rita-69
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-69 package and any other packages that may be part of the tea.xyz token reward campaign. Regularly audit your dependencies using tools like npm audit to identify and mitigate risks associated with malicious packages.
Conclusion
The rita-69 package poses a significant threat to the npm ecosystem due to its malicious behavior. It is crucial for developers to be vigilant about the packages they use and to regularly audit their dependencies to maintain the integrity of their projects. Removing the rita-69 package and utilizing tools like Vulert can help mitigate these risks.
See every vulnerability recorded for rita-69 →
FAQ
The rita-69 package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the pollution of the npm registry, affecting your project's integrity and potentially damaging your developer reputation.
You should uninstall the rita-69 package immediately using 'npm uninstall rita-69' and audit your project for any other malicious packages.
You can use tools like npm audit or services like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.