Malicious Code Injection in wati-lapis53-riris Package
Summary
MAL-2025-92032: Malicious code in wati-lapis53-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 wati-lapis53-riris package is part of the npm ecosystem, often utilized in JavaScript projects for various functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package, like others in the campaign, is designed to manipulate developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability in the wati-lapis53-riris package stems from its association with the tea.xyz token reward campaign. It contains scripts that automatically modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the pollution of the npm registry and can compromise the integrity of projects that depend on this package. The malicious payload can potentially expose developers to security risks and undermine trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wati-lapis53-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 measure, you can avoid using the wati-lapis53-riris package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The wati-lapis53-riris package poses a significant risk due to its malicious code designed to manipulate npm registry integrity. It is crucial to remove this package from your projects and monitor for any updates or alternatives to ensure the security of your applications.
See every vulnerability recorded for wati-lapis53-riris →
FAQ
The wati-lapis53-riris package is an npm package that has been identified as part of a malicious campaign aimed at manipulating developer reputation scores.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your project and exposing it to security risks.
You should uninstall the wati-lapis53-riris package immediately using the command: npm uninstall wati-lapis53-riris.
Yes, you should look for other npm packages that provide similar functionality without the associated risks of malicious code.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground at Vulert Scanner without any signup.