Malicious Code Injection in gilang-lodeh42-ruro Package - npm Vulnerability
Summary
MAL-2025-103143: Malicious code in gilang-lodeh42-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 gilang-lodeh42-ruro package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package, like others in the campaign, is designed to manipulate the npm registry by generating and publishing derivative packages with randomized names. Its primary function is to inflate developer reputation scores for token rewards, but it also poses significant security risks due to its malicious behavior.
Vulnerability Detail
The vulnerability in the gilang-lodeh42-ruro package stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also compromises the integrity of the packages within it. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which employs these tactics to manipulate the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall gilang-lodeh42-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 prevent the installation of this package by adding it to your project's .npmrc file with the following line: package-lock=false. This will stop npm from installing any packages that are not explicitly defined in your package.json.
Conclusion
The gilang-lodeh42-ruro package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial to remove this package from your project and monitor for similar vulnerabilities to maintain the integrity of your software.
See every vulnerability recorded for gilang-lodeh42-ruro →
FAQ
The gilang-lodeh42-ruro package is an npm package associated with the tea.xyz token reward campaign, designed to manipulate the npm registry.
This vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project's dependencies, potentially introducing malicious code.
If you have installed the gilang-lodeh42-ruro package, you should uninstall it immediately using the command: npm uninstall gilang-lodeh42-ruro.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software. You can check your application for vulnerabilities using the Vulert playground at Vulert Scanner without any signup.
Regularly updating your dependencies and using tools like Vulert can help you stay informed about vulnerabilities in your project's packages.