Malicious Code Injection in wawan-rojak25-riris Package
Summary
MAL-2025-92152: Malicious code in wawan-rojak25-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-rojak25-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 its integrity.
Vulnerability Detail
The vulnerability stems from the presence of malicious scripts within the wawan-rojak25-riris package. These scripts are designed to modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can potentially harm developers relying on legitimate packages. The malicious payload is part of a broader trend of packages flooding the npm ecosystem with harmful content.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wawan-rojak25-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 avoid using the wawan-rojak25-riris package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project's dependencies using tools like Vulert to ensure you are alerted to any vulnerabilities in real-time.
Conclusion
The wawan-rojak25-riris package contains malicious code that poses a significant risk to developers and their projects. It is crucial to uninstall this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for wawan-rojak25-riris →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file and can lead to the pollution of the npm registry, potentially affecting your project's dependencies.
You should uninstall the wawan-rojak25-riris package immediately using the command npm uninstall wawan-rojak25-riris.
Yes, you can use Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.