Malicious Code Injection in gilang-lapis10-ruro Package
Summary
MAL-2025-103141: Malicious code in gilang-lapis10-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-lapis10-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 scripts that compromise its integrity.
Vulnerability Detail
The vulnerability originates from the presence of malicious code within the gilang-lapis10-ruro package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The ramifications include pollution of the npm registry and potential exploitation of developers' reputations, as well as the risk of introducing further vulnerabilities into dependent projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall gilang-lapis10-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 workaround, you can temporarily avoid using the gilang-lapis10-ruro package and monitor your project for any dependencies that might be affected. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities.
Conclusion
The gilang-lapis10-ruro package contains malicious code that poses a significant risk to developers and their projects. It is crucial to remove this package and monitor for any updates. Utilizing tools like Vulert can help in identifying and managing vulnerabilities in your dependencies.
See every vulnerability recorded for gilang-lapis10-ruro →
FAQ
The gilang-lapis10-ruro package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The malicious code modifies your package.json, removes private flags, and generates random package names, which can lead to npm registry pollution and potential security risks.
You should remove the gilang-lapis10-ruro package from your project and monitor for any updates or patches that may be released.
Yes, Vulert can monitor your package-lock.json for vulnerabilities in real-time, alerting you to any issues without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.