Malicious Code Injection in lina-toge25-ruro Package - npm Vulnerability
Summary
MAL-2025-105186: Malicious code in lina-toge25-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-toge25-ruro package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit npm's publishing system. It is designed to automatically generate and publish derivative packages with randomized names, which can lead to pollution of the npm registry and manipulation of developer reputation scores.
Vulnerability Detail
The vulnerability in the lina-toge25-ruro package originates from its involvement in the tea.xyz token reward campaign. The package contains scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This malicious behavior can lead to the proliferation of unauthorized packages in the npm registry, potentially compromising the integrity of the ecosystem and affecting developers who rely on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lina-toge25-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 measure, you can prevent the installation of this malicious package by using npm's package-lock.json file to lock your dependencies. Additionally, consider using a tool 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 lina-toge25-ruro package poses a significant risk due to its malicious code that can manipulate the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for lina-toge25-ruro →
FAQ
The lina-toge25-ruro package is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
This vulnerability can lead to the proliferation of unauthorized packages in your project, potentially compromising its security and integrity.
You should remove the lina-toge25-ruro package from your project immediately and monitor for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.