Malicious Code Injection in bayu-kentang93-ruro: A Threat to npm Packages
Summary
MAL-2025-99830: Malicious code in bayu-kentang93-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 bayu-kentang93-ruro is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to generate and publish derivative packages with randomized names, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in bayu-kentang93-ruro originates from its malicious payload, which modifies the package.json file to remove private flags and changes version numbers. It generates random Indonesian-themed package names and continuously republishes variants, polluting the npm registry. This behavior can lead to reputation damage for developers and potential security risks for users who unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bayu-kentang93-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 avoid using the bayu-kentang93-ruro package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.
Conclusion
The bayu-kentang93-ruro package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with compromised packages. It is crucial to remove this package and monitor your projects for vulnerabilities to maintain security and integrity.
See every vulnerability recorded for bayu-kentang93-ruro →
FAQ
bayu-kentang93-ruro is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the installation of malicious packages that compromise your project's integrity and security.
You should uninstall the package immediately using the command: npm uninstall bayu-kentang93-ruro.
You can use Vulert to monitor your project for open-source vulnerabilities in real-time by analyzing your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.