Malicious Code Injection in bayu-teh66-ruro: A Threat to npm Packages
Summary
MAL-2025-99864: Malicious code in bayu-teh66-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-teh66-ruro is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores, posing a significant risk to developers and users alike.
Vulnerability Detail
The vulnerability in bayu-teh66-ruro originates from its inclusion in a campaign that deploys malicious autopublish scripts. These scripts modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the integrity of other packages. The ramifications include potential security risks for developers who unknowingly install these malicious packages, as well as damage to the reputation of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bayu-teh66-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-teh66-ruro package and monitor your project dependencies for any instances of this package. Regularly check your package-lock.json file for any unauthorized changes or additions.
Conclusion
The bayu-teh66-ruro package poses a significant threat due to its malicious code designed to manipulate npm package metadata. Developers should take immediate action to remove this package and monitor their dependencies for any signs of compromise. Utilizing tools like Vulert can help in maintaining the security of your projects.
See every vulnerability recorded for bayu-teh66-ruro →
FAQ
bayu-teh66-ruro is an npm package associated with a malicious campaign that aims to inflate developer reputation scores through the publication of derivative packages.
The vulnerability can lead to the installation of malicious code that modifies your package.json file and can compromise the security of your project.
You should uninstall the package immediately and check your project for any unauthorized changes.
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.