Malicious Code Injection in xaver-esdoger41-ruro Package
Summary
MAL-2025-111054: Malicious code in xaver-esdoger41-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 xaver-esdoger41-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. However, it has been identified as containing malicious code that compromises its integrity and the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the package's design, which includes autopublish scripts that modify the package.json file to remove private flags and alter version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only affects the affected package but can also mislead developers and users relying on the npm registry for trustworthy packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall xaver-esdoger41-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 xaver-esdoger41-ruro package altogether. If it is already installed, you can uninstall it using the command: npm uninstall xaver-esdoger41-ruro. Additionally, consider using tools like Vulert to monitor your dependencies for vulnerabilities.
Conclusion
The xaver-esdoger41-ruro package has been identified as containing malicious code that poses a significant risk to projects using it. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain the security of your applications.
See every vulnerability recorded for xaver-esdoger41-ruro →
FAQ
The xaver-esdoger41-ruro package is an npm package associated with a token reward campaign that automates the generation and publication of derivative packages.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and reliability.
You should uninstall the xaver-esdoger41-ruro package immediately and monitor your project for any signs of compromise.
You can use Vulert, which monitors your package-lock.json file for vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay updated on security advisories related to the packages you use.