Malicious Code Injection in andi-mangut20-ruro Package
Summary
MAL-2025-99443: Malicious code in andi-mangut20-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 andi-mangut20-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. However, it has been identified as containing malicious code that modifies package metadata and repurposes it for nefarious activities.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which alters the package.json file by removing private flags and changing version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to security risks, including the potential for unauthorized access and exploitation of affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall andi-mangut20-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 prevent the installation of the affected package by using the following command: npm uninstall andi-mangut20-ruro. Additionally, you can monitor your project for any unauthorized changes to package.json.
Conclusion
The andi-mangut20-ruro package has been identified as containing malicious code that poses a significant risk to developers and their projects. It is crucial to take immediate action to mitigate this vulnerability by updating or removing the package and utilizing tools like Vulert for ongoing monitoring.
See every vulnerability recorded for andi-mangut20-ruro →
FAQ
andi-mangut20-ruro is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation of derivative packages.
The vulnerability allows for the modification of package metadata and the creation of numerous derivative packages, which can lead to registry pollution and potential security risks.
You can use Vulert to monitor your application for vulnerabilities. Simply upload your package-lock.json file to Vulert's playground at Vulert Scanner to check for any issues.
Yes, you can prevent the installation of the affected package by running the command: npm uninstall andi-mangut20-ruro.
If no patched version is available, it is advisable to remove the package from your project and monitor for any unauthorized changes.