Malicious Code Exploit in erick-toge28-ruro Package: npm Vulnerability Overview
Summary
MAL-2025-102192: Malicious code in erick-toge28-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-toge28-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 code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability in the erick-toge28-ruro package stems from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random Indonesian-themed package names and continuously republishes these variants to pollute the npm registry. This behavior can lead to a significant increase in spam packages, potentially affecting developers and users relying on the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall erick-toge28-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 manually remove the erick-toge28-ruro package from your package.json and package-lock.json files. Use the following command to uninstall it: npm uninstall erick-toge28-ruro. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities.
Conclusion
The erick-toge28-ruro package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry with spam. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for erick-toge28-ruro →
FAQ
The erick-toge28-ruro package is an npm package involved in the tea.xyz token reward campaign, which has been identified to contain malicious code.
This vulnerability can lead to the proliferation of spam packages in the npm registry, potentially compromising the integrity of your project and affecting dependency management.
You should uninstall the erick-toge28-ruro package immediately and monitor your project for any further vulnerabilities.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software using just package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.