Malicious Code Injection in erwin-rawon78-ruro Package: A Threat to npm Ecosystem
Summary
MAL-2025-102224: Malicious code in erwin-rawon78-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 erwin-rawon78-ruro package is part of a series of npm packages that have been implicated in a token reward campaign. These packages are designed to manipulate the npm registry by generating and publishing numerous derivative packages with randomized names. This behavior not only inflates developer reputation scores but also poses a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in the erwin-rawon78-ruro package stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This allows the package to continuously republish variants, polluting the npm registry and potentially leading to the distribution of compromised software. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall erwin-rawon78-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 prevent the installation of this malicious package by using npm's package-lock.json file to lock your dependencies. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The erwin-rawon78-ruro package poses a significant threat due to its malicious code that manipulates the npm registry. It is crucial for developers to be aware of such vulnerabilities and take proactive measures to protect their projects. Regular monitoring and updates can help mitigate risks associated with open-source packages.
See every vulnerability recorded for erwin-rawon78-ruro →
FAQ
The erwin-rawon78-ruro package is an npm package involved in a malicious campaign that generates and publishes numerous derivative packages to inflate developer reputation scores.
This vulnerability can lead to the pollution of the npm registry, potentially introducing compromised packages into your project, which can affect the security and integrity of your application.
You should immediately remove the erwin-rawon78-ruro package from your project and monitor your dependencies for any malicious activity.
Yes, you can use tools like Vulert to monitor your project for open-source vulnerabilities in real-time and ensure that you are alerted to any issues as they arise.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.