Malicious Code Injection in wawan-donat74-riris: A Threat to npm Ecosystem
Summary
MAL-2025-92093: Malicious code in wawan-donat74-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 package wawan-donat74-riris is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards by generating and publishing derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in wawan-donat74-riris originates from its inclusion in a campaign that floods the npm registry with malicious packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the pollution of the npm registry and can inflate developer reputation scores fraudulently. The ramifications include potential security risks for applications relying on this package, as well as the degradation of the npm ecosystem's trustworthiness.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wawan-donat74-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-donat74-riris package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity of packages before including them in your project.
Conclusion
The wawan-donat74-riris package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities using tools like Vulert to maintain the security and integrity of their applications.
See every vulnerability recorded for wawan-donat74-riris →
FAQ
wawan-donat74-riris is an npm package associated with a token reward campaign that has been identified to contain malicious code.
The malicious code can modify your package.json file, remove private flags, and publish unauthorized variants, potentially compromising your application's security.
You should uninstall the wawan-donat74-riris package immediately and check for any other affected packages in your project.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time. It requires only your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.