Malicious Code Injection in sabua-muyafig-buda Package
Summary
MAL-2025-165422: Malicious code in sabua-muyafig-buda (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 sabua-muyafig-buda package is part of the npm ecosystem, often used in JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages typically include scripts that automate the generation and publication of derivative packages, which can lead to reputation inflation for developers involved in the campaign.
Vulnerability Detail
The vulnerability in the sabua-muyafig-buda package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, primarily themed around Indonesian culture. The malicious payload continuously republishes these variants, polluting the npm registry and potentially compromising the integrity of applications that depend on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sabua-muyafig-buda
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, consider removing the sabua-muyafig-buda package from your project and replacing it with a trusted alternative. You can do this by running: npm uninstall sabua-muyafig-buda.
Conclusion
The sabua-muyafig-buda package contains malicious code that poses a significant risk to applications relying on it. It is crucial to take immediate action by updating or removing the package to safeguard your project from potential threats.
See every vulnerability recorded for sabua-muyafig-buda →
FAQ
The sabua-muyafig-buda package is an npm package associated with the tea.xyz token reward campaign, which has been linked to malicious activities in the npm registry.
The malicious code modifies your package.json file, potentially leading to the publication of unauthorized packages and compromising your application's integrity.
If you have installed the sabua-muyafig-buda package, it is recommended to uninstall it immediately and check for any updates or patches.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly update your dependencies, monitor for vulnerabilities using tools like Vulert, and review the packages you use for any known issues.