Malicious Code Injection in lina-rangi9-ruro: A Threat to npm Users
Summary
MAL-2025-105175: Malicious code in lina-rangi9-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 lina-rangi9-ruro 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, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious scripts within the lina-rangi9-ruro package. These scripts are designed to modify the package.json file by removing private flags, altering version numbers, and generating random package names. The primary goal of this malicious activity is to continuously republish variants of the package, thereby polluting the npm registry and potentially leading to security risks for developers who unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lina-rangi9-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 lina-rangi9-ruro package and instead look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file using Vulert to receive real-time alerts for any open-source vulnerabilities.
Conclusion
The lina-rangi9-ruro package poses a significant security risk due to its malicious code that alters package metadata and repopulates the npm registry with compromised versions. It is crucial for developers to remove this package and monitor their projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for lina-rangi9-ruro →
FAQ
lina-rangi9-ruro is an npm package that is part of a token reward campaign, designed to generate and publish derivative packages.
The malicious code can modify your package.json file, remove private flags, and republish variants, which can lead to security vulnerabilities in your project.
You should remove the lina-rangi9-ruro package from your project and monitor for any updates or patches that may be released.
You can use Vulert to monitor your package-lock.json file for real-time alerts regarding open-source vulnerabilities without needing to install any software.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.