Malicious Code Injection in eka-lapis49-ruro Package - npm Vulnerability
Summary
MAL-2025-101919: Malicious code in eka-lapis49-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 eka-lapis49-ruro package is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with malicious packages. These packages are designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The malicious behavior of this package poses a significant risk to developers and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the eka-lapis49-ruro package originates from its inclusion in a campaign that utilizes autopublish scripts to create and publish numerous derivative packages. These scripts modify the package.json file to remove private flags, alter version numbers, and generate random package names, leading to pollution of the npm registry. This not only compromises the security of the affected systems but also undermines the trustworthiness of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall eka-lapis49-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 eka-lapis49-ruro package and monitor your project for any dependencies that may inadvertently include it. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities.
Conclusion
The eka-lapis49-ruro package poses a significant risk due to its malicious code designed to manipulate npm's ecosystem. It is crucial to remove this package from your project and monitor for any vulnerabilities using tools like Vulert to ensure the security of your applications.
See every vulnerability recorded for eka-lapis49-ruro →
FAQ
The eka-lapis49-ruro package is part of a malicious campaign on npm that aims to inflate developer reputation scores through automated publishing of derivative packages.
This vulnerability can lead to the pollution of the npm registry and compromise the security of your project by introducing malicious code.
You should uninstall the eka-lapis49-ruro package immediately using the command 'npm uninstall eka-lapis49-ruro' and check your project for any other affected dependencies.
Yes, you can use Vulert to monitor your package-lock.json file for open-source vulnerabilities in real-time without needing to install any additional software.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.