Malicious Code Injection in rina-lepet60-riris Package
Summary
MAL-2025-90177: Malicious code in rina-lepet60-riris (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 rina-lepet60-riris package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, which are often used to inflate developer reputation scores for token rewards. However, it has been compromised to include malicious scripts that can alter package configurations and republish variants, leading to potential abuse of the npm registry.
Vulnerability Detail
The vulnerability in the rina-lepet60-riris package stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags and change version numbers. This allows the package to generate random names and continuously republish itself, polluting the npm registry. The malicious payload can lead to unauthorized access and manipulation of package data, posing risks to developers and users relying on the integrity of npm packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rina-lepet60-riris
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 remove the rina-lepet60-riris package from your project by executing the following command: npm uninstall rina-lepet60-riris. This will prevent any potential malicious activity associated with the package until a fix is implemented.
Conclusion
The rina-lepet60-riris package has been identified as containing malicious code that can compromise the integrity of npm packages. It is crucial for developers to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for rina-lepet60-riris →
FAQ
The rina-lepet60-riris package is an npm package associated with a token reward campaign that generates and publishes derivative packages.
The vulnerability can lead to unauthorized modifications of your package.json file and the potential pollution of the npm registry, which may affect your project's integrity.
If you have installed the rina-lepet60-riris package, it is advisable to uninstall it immediately and monitor for any updates or patches.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities. You can check your application using the Vulert playground without any signup at Vulert Scanner.
Regularly updating your packages and using tools like Vulert to monitor vulnerabilities can help prevent such issues in the future.