Malicious Code Injection in erick-lapis86-ruro Package
Summary
MAL-2025-102172: Malicious code in erick-lapis86-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 erick-lapis86-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 publishing 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 package's malicious code, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially affecting other developers and users relying on npm packages. The malicious payload is designed to exploit the npm ecosystem for nefarious purposes.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall erick-lapis86-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 remove the erick-lapis86-ruro package from your project by executing the following command: npm uninstall erick-lapis86-ruro. This will prevent the malicious code from executing until a fix is available.
Conclusion
The erick-lapis86-ruro package has been identified as containing malicious code that compromises its integrity and affects the npm ecosystem. It is crucial for developers to take immediate action by updating or removing the package to safeguard their projects.
See every vulnerability recorded for erick-lapis86-ruro →
FAQ
The erick-lapis86-ruro package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file, removes private flags, and can lead to the pollution of the npm registry, affecting your project's integrity.
If you have the erick-lapis86-ruro package installed, it is advisable to uninstall it immediately or update it to a patched version if available.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
More information can be found in the vulnerability report on the GitHub repository of malicious packages or by checking the Vulert platform.