Malicious Code Injection in mahesa-mangut56-riris Package
Summary
MAL-2025-88150: Malicious code in mahesa-mangut56-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-mangut56-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 security of applications using it.
Vulnerability Detail
The vulnerability in the mahesa-mangut56-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 is intended to pollute the npm registry by continuously republishing variants, posing risks such as reputation damage for developers and potential exploitation of applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mahesa-mangut56-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 measure, you can avoid using the mahesa-mangut56-riris package and replace it with a trusted alternative that provides similar functionality without the associated risks.
Conclusion
The mahesa-mangut56-riris package has been identified as containing malicious code that poses significant risks to applications using it. It is crucial to remove this package and monitor your projects for vulnerabilities to maintain security and integrity.
See every vulnerability recorded for mahesa-mangut56-riris →
FAQ
The mahesa-mangut56-riris package is an npm package involved in the tea.xyz token reward campaign, designed to automate the generation of derivative packages.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your application by introducing malicious code.
You should uninstall the mahesa-mangut56-riris package immediately and monitor your application for any unusual behavior.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can check your application against known vulnerabilities using the Vulert playground without any signup.
Regularly update your dependencies, monitor for vulnerabilities using tools like Vulert, and review your package.json and package-lock.json files for any suspicious packages.