Malicious Code Injection in mahesa-dodol53-riris Package
Summary
MAL-2025-88124: Malicious code in mahesa-dodol53-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 mahesa-dodol53-riris package is part of the npm ecosystem, often used in JavaScript applications. It has been identified as part of a token reward campaign that floods the npm registry with malicious packages. This package is designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names.
Vulnerability Detail
The vulnerability in the mahesa-dodol53-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 these variants, polluting the npm registry and potentially compromising the integrity of applications that depend on this package. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mahesa-dodol53-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 prevent the installation of this package by using npm's package-lock.json file to monitor dependencies. If you are using Vulert, you can utilize their playground at https://vulert.com/scanner to check if your application is affected by this vulnerability without any signup.
Conclusion
The mahesa-dodol53-riris package poses a significant risk due to its malicious behavior of modifying package metadata and republishing variants. It is crucial for developers to be aware of this vulnerability and take immediate action to protect their applications.
See every vulnerability recorded for mahesa-dodol53-riris →
FAQ
The mahesa-dodol53-riris package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
This vulnerability can lead to the pollution of the npm registry and may compromise the integrity of applications that rely on this package, potentially introducing malicious code.
You should remove the mahesa-dodol53-riris package from your project immediately and check for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring any signup.