Malicious Code Injection in maya-lengko71-ruro Package: npm Vulnerability Overview
Summary
MAL-2025-105696: Malicious code in maya-lengko71-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 maya-lengko71-ruro package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and distribution of JavaScript applications. However, it has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to potential security risks for developers and users alike.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the maya-lengko71-ruro package, which is associated with the tea.xyz token reward campaign. This package includes scripts designed to automatically generate and publish derivative packages with randomized names, effectively polluting the npm registry. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and continuously republishing variants, which can inflate developer reputation scores fraudulently. This behavior poses significant risks, including the potential for dependency confusion and the introduction of untrusted code into projects relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall maya-lengko71-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
Currently, the best workaround is to avoid using the maya-lengko71-ruro package altogether. If it is already in use, remove it from your project as mentioned above. Additionally, consider using tools like Vulert to monitor your package dependencies for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The maya-lengko71-ruro package poses a significant security risk due to its malicious code that manipulates the npm registry. It is crucial for developers to be vigilant about the packages they use and to take immediate action to remove any affected packages. Utilizing tools like Vulert can help in monitoring and managing open-source vulnerabilities effectively.
See every vulnerability recorded for maya-lengko71-ruro →
FAQ
The maya-lengko71-ruro package is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
This vulnerability can lead to the introduction of untrusted code into your project, potentially compromising security and functionality.
You should uninstall the maya-lengko71-ruro package immediately and monitor your project for any unusual behavior.
Regularly audit your dependencies, use trusted packages, and employ tools like Vulert to monitor for vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without needing to sign up.