Malicious Code Injection in bayu-tahu3-ruro Package
Summary
MAL-2025-99859: Malicious code in bayu-tahu3-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 bayu-tahu3-ruro package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores through automated publishing scripts, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the bayu-tahu3-ruro package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, primarily themed around Indonesian culture. The malicious payload continuously republishes these variants, which can lead to a compromised npm registry and potential security risks for developers relying on these packages. The origin of this issue is linked to the tea.xyz token reward campaign, which has been associated with various malicious npm packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bayu-tahu3-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 bayu-tahu3-ruro package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for any dependencies that may introduce vulnerabilities by using tools like Vulert.
Conclusion
The bayu-tahu3-ruro package poses a significant security risk due to its malicious code designed to exploit the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for bayu-tahu3-ruro →
FAQ
The bayu-tahu3-ruro package is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The malicious code can modify your package.json file, remove private flags, and republish variants, potentially leading to security risks and pollution of the npm registry.
You should uninstall the bayu-tahu3-ruro package immediately and monitor your project for any vulnerabilities.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.