Malicious Code Injection in hendra-mangga12-ruro Package
Summary
MAL-2025-103673: Malicious code in hendra-mangga12-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 hendra-mangga12-ruro package is part of the npm ecosystem, often used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been linked to a series of malicious packages aimed at inflating developer reputation scores. This package, like others in the campaign, is designed to automatically generate and publish derivative packages, leading to potential security risks for developers and users alike.
Vulnerability Detail
The vulnerability in the hendra-mangga12-ruro package arises from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to pollute the npm registry and can lead to unauthorized access to sensitive information, increased attack surface, and potential exploitation of affected applications. The origin of this vulnerability is traced back to the tea.xyz token reward campaign, which employs autopublish scripts to automate the creation of these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall hendra-mangga12-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 avoid using the hendra-mangga12-ruro package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities.
Conclusion
The hendra-mangga12-ruro package poses a significant security risk due to its malicious code designed to manipulate package metadata and publish unauthorized variants. It is crucial for developers to remove this package and monitor their applications for vulnerabilities using tools like Vulert.
See every vulnerability recorded for hendra-mangga12-ruro →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code can modify your package.json, remove private flags, and publish unauthorized packages, potentially leading to security breaches.
You can use the Vulert playground at Vulert Scanner to check your application for vulnerabilities without needing to sign up.
You should uninstall the hendra-mangga12-ruro package immediately and monitor your application for any unusual behavior.
Yes, Vulert can monitor your package-lock.json for open-source vulnerabilities in real-time, providing alerts for any issues.