Malicious Code Injection in mahesa-kue87-ruro Package
Summary
MAL-2025-105473: Malicious code in mahesa-kue87-ruro (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-kue87-ruro 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 in exchange for token rewards. However, it has been identified as containing malicious scripts that compromise its integrity.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the mahesa-kue87-ruro package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The ramifications include potential security risks for developers using this package, as it can lead to unauthorized access or manipulation of their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mahesa-kue87-ruro
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 remove the mahesa-kue87-ruro package from your project by executing the following command: npm uninstall mahesa-kue87-ruro. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The mahesa-kue87-ruro package has been identified as containing malicious code that poses significant risks to developers. It is crucial to take immediate action by uninstalling the package and monitoring for updates. Utilizing tools like Vulert can aid in identifying vulnerabilities in your projects.
See every vulnerability recorded for mahesa-kue87-ruro →
FAQ
The mahesa-kue87-ruro package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of packages.
The vulnerability can lead to unauthorized modifications of your package.json file and the introduction of malicious code, potentially compromising your project's security.
You should uninstall the mahesa-kue87-ruro package immediately and monitor for any updates or patches that address the vulnerability.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application by using the Vulert playground at Vulert Scanner without any signup.
Regularly updating your dependencies, using tools like Vulert for monitoring, and reviewing package integrity before installation can help prevent such vulnerabilities.