Malicious Code Injection in xaver-lepet63-riris Package
Summary
MAL-2025-92377: Malicious code in xaver-lepet63-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-lepet63-riris package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary functionality of such packages is to inflate developer reputation scores through the automatic generation and publication of derivative packages.
Vulnerability Detail
The vulnerability in the xaver-lepet63-riris package stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, primarily themed around Indonesian culture. This behavior leads to the continuous republishing of these variants, polluting the npm registry and potentially compromising the integrity of other packages and applications that depend on it.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall xaver-lepet63-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 temporary workaround, you can remove the xaver-lepet63-riris package from your project dependencies by running the command: npm uninstall xaver-lepet63-riris. This will prevent the execution of any malicious code associated with the package.
Conclusion
The xaver-lepet63-riris package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial to remove this package from your dependencies and stay vigilant about monitoring for vulnerabilities in your projects.
See every vulnerability recorded for xaver-lepet63-riris →
FAQ
xaver-lepet63-riris is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your application by introducing unwanted or malicious code.
You should immediately uninstall the xaver-lepet63-riris package and monitor your application for any unusual behavior.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software using just the package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.