Malicious Code Injection in wati-lepet24-riris Package
Summary
MAL-2025-92034: Malicious code in wati-lepet24-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-lepet24-riris 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 compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the wati-lepet24-riris package stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants that pollute the npm registry, potentially affecting other developers and users by introducing untrusted code into their environments.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wati-lepet24-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 avoid using the wati-lepet24-riris package altogether. If it is already in your project, you can uninstall it using the command: npm uninstall wati-lepet24-riris.
Conclusion
The wati-lepet24-riris package has been identified as containing malicious code that compromises the npm registry. It is crucial for developers to remove this package from their projects to maintain security and integrity. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for wati-lepet24-riris →
FAQ
The wati-lepet24-riris 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 introduction of untrusted code into your project, potentially compromising its security and integrity.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check if your application is affected by visiting the Vulert playground at Vulert Scanner.
If you have installed the wati-lepet24-riris package, it is recommended to uninstall it immediately using the command: npm uninstall wati-lepet24-riris.
Currently, there is no patched version available for the wati-lepet24-riris package. The best course of action is to remove the package from your project.