Malicious Code Injection in rina-lapis11-ruro Package
Summary
MAL-2025-108126: Malicious code in rina-lapis11-ruro (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-lapis11-ruro package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been linked to numerous malicious activities. The primary function of this package is to facilitate the distribution of JavaScript code, but it has been compromised to include harmful scripts that can affect the integrity of the npm registry and the applications that depend on it.
Vulnerability Detail
The vulnerability in the rina-lapis11-ruro package stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is designed to inflate developer reputation scores for token rewards, leading to the continuous republishing of these compromised packages. The ramifications include potential exposure of applications to security risks, as the malicious payload can lead to further exploitation and pollution of the npm registry.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rina-lapis11-ruro
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 rina-lapis11-ruro package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The rina-lapis11-ruro package contains malicious code that poses significant risks to applications relying on it. It is crucial to remove this package and monitor your project for vulnerabilities to ensure ongoing security.
See every vulnerability recorded for rina-lapis11-ruro →
FAQ
The rina-lapis11-ruro package is an npm package that has been compromised to include malicious code aimed at manipulating the npm registry.
This vulnerability can lead to the exposure of your application to malicious scripts, potentially compromising its security and integrity.
If you have installed the rina-lapis11-ruro package, you should uninstall it immediately and check for any dependencies that may be affected.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
To prevent similar vulnerabilities, regularly audit your dependencies, use tools like Vulert for monitoring, and stay updated on security advisories related to the packages you use.