Malicious Code Injection in xaver-mangut12-ruro Package
Summary
MAL-2025-111069: Malicious code in xaver-mangut12-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-mangut12-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 modifies its own metadata and continuously republishes variants to pollute the npm registry.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the xaver-mangut12-ruro package, which includes scripts that alter the package.json file by removing private flags and changing version numbers. This behavior allows the package to generate random names and republish itself, leading to potential security risks such as reputation damage for developers and pollution of the npm registry. The malicious payload can compromise the integrity of the npm ecosystem, making it difficult for developers to trust packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall xaver-mangut12-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-mangut12-ruro package altogether. If it is already included in your project, remove it by running the following command: npm uninstall xaver-mangut12-ruro.
Conclusion
The xaver-mangut12-ruro package has been identified as containing malicious code that poses significant risks to developers and the npm ecosystem. It is crucial to remove this package from your projects and monitor for any updates or patches to ensure the security of your applications.
See every vulnerability recorded for xaver-mangut12-ruro →
FAQ
The xaver-mangut12-ruro package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project by introducing untrusted packages.
You should uninstall the xaver-mangut12-ruro package immediately and monitor for any updates or patches.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities by analyzing your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.