Malicious Code Injection in mahesa-semur20-ruro Package
Summary
MAL-2025-105495: Malicious code in mahesa-semur20-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-semur20-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 for token rewards. However, it has been identified as containing malicious code that compromises its integrity and the security of applications that depend on it.
Vulnerability Detail
The vulnerability in the mahesa-semur20-ruro package originates from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly install these compromised packages, leading to potential security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mahesa-semur20-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 workaround, you can temporarily avoid using the mahesa-semur20-ruro package by removing it from your dependencies. You can do this by executing the following command in your project directory: npm uninstall mahesa-semur20-ruro.
Conclusion
The mahesa-semur20-ruro package contains a significant vulnerability that can lead to malicious code injection and compromise application security. It is essential to remove this package and monitor your dependencies for any potential threats. Utilizing tools like Vulert can help maintain the integrity of your software.
See every vulnerability recorded for mahesa-semur20-ruro →
FAQ
The mahesa-semur20-ruro package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the installation of malicious code that modifies your package.json file and can compromise the security of your application.
If you have installed the mahesa-semur20-ruro package, it is crucial to uninstall it immediately and check for any other affected packages.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can also check your application for vulnerabilities using the Vulert playground without any signup.
Regularly audit your dependencies using tools like npm audit and consider using services like Vulert to monitor for vulnerabilities in real-time.