Malicious Code Injection in budi-sroto48-ruro Package
Summary
MAL-2025-100174: Malicious code in budi-sroto48-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 budi-sroto48-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 are often used to inflate developer reputation scores for token rewards. The package's functionality includes creating randomized package names and modifying existing package metadata.
Vulnerability Detail
The vulnerability in the budi-sroto48-ruro package stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only compromises the integrity of the npm registry but also allows for the continuous republishing of these variants, leading to pollution of the registry and potential exploitation by malicious actors.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall budi-sroto48-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 this package by using npm's package-lock.json file to monitor your dependencies. Additionally, consider using Vulert to monitor for vulnerabilities in your project. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The budi-sroto48-ruro package contains a significant vulnerability that allows for the injection of malicious code, compromising the integrity of the npm registry. It is crucial to remove this package from your project and utilize tools like Vulert to monitor for potential vulnerabilities in the future.
See every vulnerability recorded for budi-sroto48-ruro →
FAQ
The budi-sroto48-ruro package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
This vulnerability can lead to the pollution of the npm registry and may allow malicious actors to exploit your project by injecting harmful code.
You should uninstall the budi-sroto48-ruro package immediately and check for any dependencies that may be affected.
There is no patch available for the budi-sroto48-ruro package. The best course of action is to remove the package entirely.
You can use Vulert to monitor your project for open-source vulnerabilities in real-time by analyzing your package-lock.json file.