Malicious Code Injection in wawan-mie86-riris Package
Summary
MAL-2025-92135: Malicious code in wawan-mie86-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-mie86-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 and the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the package's design to include autopublish scripts that modify the package.json file. These modifications remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses risks to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wawan-mie86-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-mie86-riris package and consider using alternative packages that provide similar functionality without the associated risks. Regularly monitor your dependencies for vulnerabilities using tools like Vulert, which can alert you to open-source vulnerabilities in your software without requiring code access.
Conclusion
The wawan-mie86-riris package contains malicious code that poses significant risks to developers and the npm ecosystem. It is crucial to remove this package from your projects and monitor your dependencies for vulnerabilities to maintain the security of your applications.
See every vulnerability recorded for wawan-mie86-riris →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automatically generate and publish derivative packages.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and the pollution of the npm registry.
Uninstall the package immediately using the command npm uninstall wawan-mie86-riris and check for alternative packages.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.