Malicious Code Injection in erick-lodeh87-ruro Package: A Threat to npm Users
Summary
MAL-2025-102174: Malicious code in erick-lodeh87-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-lodeh87-ruro package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of such packages is to manipulate developer reputation scores through automated publishing scripts, potentially compromising the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in the erick-lodeh87-ruro package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, which are then continuously republished to pollute the npm registry. This behavior not only affects the reputation of legitimate developers but also poses a risk of dependency confusion and supply chain attacks, as users may unknowingly install compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall erick-lodeh87-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 erick-lodeh87-ruro package and replace it with a trusted alternative. Always verify the source of packages before installation to mitigate risks.
Conclusion
The erick-lodeh87-ruro package poses a significant threat to the npm ecosystem due to its malicious code that modifies package metadata and repopulates the registry with compromised packages. It is essential for developers to remain vigilant, regularly update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for erick-lodeh87-ruro →
FAQ
The erick-lodeh87-ruro package is an npm package associated with a malicious campaign aimed at inflating developer reputation scores through automated publishing.
This vulnerability can lead to the installation of malicious code, potentially compromising your project's security and integrity.
You should uninstall the erick-lodeh87-ruro package immediately and review your project's dependencies for any other potentially malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.