Malicious Code Injection in xaver-semur82-ruro: A Threat to npm Packages
Summary
MAL-2025-111088: Malicious code in xaver-semur82-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 package xaver-semur82-ruro is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to generate and publish derivative packages automatically, which can inflate developer reputation scores for token rewards. However, it has been identified as malicious due to its ability to modify package.json files and republish variants with altered names and versions, thereby polluting the npm registry.
Vulnerability Detail
The vulnerability in xaver-semur82-ruro originates from its malicious design, which includes scripts that remove private flags from package.json, change version numbers, and generate random package names. This behavior can lead to significant ramifications, including the compromise of the npm registry's integrity, increased difficulty in finding legitimate packages, and potential security risks for developers who unknowingly use these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall xaver-semur82-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 workaround, you can monitor your dependencies using tools like Vulert, which allows you to check for vulnerabilities in your package-lock.json file. You can access the Vulert playground at https://vulert.com/scanner to see if your application is affected by this vulnerability without requiring any signup.
Conclusion
The xaver-semur82-ruro package poses a significant threat due to its malicious code that alters package.json files and repopulates the npm registry with compromised packages. It is crucial for developers to take immediate action by removing this package and monitoring their dependencies to maintain the security of their projects.
See every vulnerability recorded for xaver-semur82-ruro →
FAQ
xaver-semur82-ruro is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
This vulnerability can compromise the integrity of your project's dependencies, leading to potential security risks and difficulties in managing legitimate packages.
You should uninstall the xaver-semur82-ruro package immediately using 'npm uninstall xaver-semur82-ruro' and check for any other affected packages.
Regularly update your dependencies and use tools like Vulert to monitor your package-lock.json for vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.