Malicious Code Injection in xaver-mangut90-riris Package
Summary
MAL-2025-92386: Malicious code in xaver-mangut90-riris (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-mangut90-riris package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code. However, it has been identified as part of a malicious campaign that aims to exploit npm's publishing system by generating numerous derivative packages to inflate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the xaver-mangut90-riris package. This code is designed to modify the package.json file by removing private flags, altering version numbers, and creating random package names, which leads to the continuous republishing of these variants. The origin of this vulnerability is linked to a campaign that floods the npm registry with these manipulated packages, potentially harming developers and users by polluting the registry and compromising the integrity of the software supply chain.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall xaver-mangut90-riris
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 manually check your package-lock.json file for any references to the xaver-mangut90-riris package and remove it. 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 xaver-mangut90-riris package poses a significant risk due to its malicious code designed to manipulate npm's publishing system. 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 xaver-mangut90-riris →
FAQ
The xaver-mangut90-riris package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the creation of numerous derivative packages.
The malicious code modifies your package.json file, potentially leading to the publication of unauthorized packages and compromising the integrity of your project.
You should remove the xaver-mangut90-riris package from your project immediately to prevent any potential exploitation.
Yes, you can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities in your software using just the 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.