Malicious Code Injection in maya-semur62-ruro Package
Summary
MAL-2025-105713: Malicious code in maya-semur62-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-semur62-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 the npm registry.
Vulnerability Detail
The vulnerability originates from the package's design to include autopublish scripts that modify the package.json file. This modification removes private flags, alters version numbers, and generates random package names, which leads to the continuous republishing of these variants. The ramifications include pollution of the npm registry and potential exploitation of developers who unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall maya-semur62-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 monitor your project's dependencies using tools like Vulert. By utilizing Vulert, you can check your package-lock.json for vulnerabilities without needing to install any additional software. You can access the Vulert playground at https://vulert.com/scanner to see if your application is affected by this vulnerability.
Conclusion
The maya-semur62-ruro package has been identified as containing malicious code that can compromise the integrity of your project. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain the security of your application.
See every vulnerability recorded for maya-semur62-ruro →
FAQ
The maya-semur62-ruro package is an npm package associated with the tea.xyz token reward campaign, designed to automate the publication of derivative packages.
The vulnerability can lead to the pollution of the npm registry and may expose your project to malicious code, compromising its security.
You should uninstall the maya-semur62-ruro package immediately and monitor your dependencies for any further vulnerabilities.
Yes, you can use Vulert to monitor your package-lock.json for open-source vulnerabilities in real-time without needing to install any software.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay updated on security advisories related to the packages you use.