Malicious Code Detected in vera-mangut2-ruro: A Threat to npm Packages
Summary
MAL-2025-110399: Malicious code in vera-mangut2-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 package 'vera-mangut2-ruro' is part of a broader campaign targeting npm packages, specifically designed to exploit the npm ecosystem. It is associated with the tea.xyz token reward initiative, which has been linked to a series of malicious packages that flood the npm registry. These packages are engineered to inflate developer reputation scores through automated publishing of derivative packages with randomized names.
Vulnerability Detail
The vulnerability in 'vera-mangut2-ruro' stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of other packages. The origin of this issue is tied to the tea.xyz token reward campaign, which aims to manipulate npm's reputation system for illicit gains.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vera-mangut2-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 measure, consider using the following command to uninstall the affected package: npm uninstall vera-mangut2-ruro. This will help mitigate the immediate risk while you assess alternative packages or wait for a patch.
Conclusion
The 'vera-mangut2-ruro' package poses a significant threat due to its malicious code designed to manipulate the npm ecosystem. It is essential to take immediate action by removing the package and monitoring your project for any vulnerabilities. Utilizing tools like Vulert can enhance your security posture and help prevent future incidents.
See every vulnerability recorded for vera-mangut2-ruro →
FAQ
The primary risk is that it modifies your project's package.json file, potentially leading to security vulnerabilities and reputation damage in the npm ecosystem.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
If you have installed 'vera-mangut2-ruro', it is recommended to uninstall it immediately and review your project's dependencies for any other potentially malicious packages.
Yes, tools like Vulert can help you monitor and alert for open-source vulnerabilities in your software without requiring access to the code or installation.
Regularly audit your dependencies, keep them updated, and utilize tools like Vulert to monitor for vulnerabilities in real-time.