Malicious Code Injection in wawan-wajit90-riris Package
Summary
MAL-2025-92174: Malicious code in wawan-wajit90-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 wawan-wajit90-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 scripts that compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from malicious code embedded in the wawan-wajit90-riris package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The scripts are designed to continuously republish these variants, leading to pollution of the npm registry and potential exploitation of developers' reputations. The malicious payload can also lead to unauthorized access to sensitive information if the package is used in production environments.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wawan-wajit90-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, avoid using the wawan-wajit90-riris package and consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The wawan-wajit90-riris package poses a significant risk due to its embedded malicious code, which can compromise the integrity of your project. It is crucial to uninstall this package and remain vigilant for any potential impacts on your development environment.
See every vulnerability recorded for wawan-wajit90-riris →
FAQ
The wawan-wajit90-riris package is an npm package involved in the tea.xyz token reward campaign, which has been compromised with malicious code.
The malicious code can modify your package.json, remove private flags, and continuously republish variants, potentially leading to reputation damage and security risks.
You should uninstall the wawan-wajit90-riris package immediately and monitor your project for any unusual activity.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground at Vulert Scanner without needing to sign up.
While removing the package mitigates the immediate risk, it is essential to monitor your project for any lingering effects and consider using secure alternatives.