Malicious Code Injection in sabudaaopa-muyafafig-bafua Package
Summary
MAL-2025-165516: Malicious code in sabudaaopa-muyafafig-bafua (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 sabudaaopa-muyafafig-bafua 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 can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious scripts that compromise its integrity and the npm registry.
Vulnerability Detail
The vulnerability originates from malicious code embedded in the sabudaaopa-muyafafig-bafua package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The ramifications include pollution of the npm registry, potential security risks for developers using these packages, and 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 sabudaaopa-muyafafig-bafua
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 monitor your project for any unintended installations of this package and ensure that your package-lock.json file is kept secure. Additionally, consider using tools like Vulert to monitor for vulnerabilities in your dependencies.
Conclusion
The sabudaaopa-muyafafig-bafua package has been identified as containing malicious code that poses significant risks to developers and the npm ecosystem. Immediate action is required to remove the package and prevent further issues. Utilizing tools like Vulert can aid in monitoring for such vulnerabilities in the future.
See every vulnerability recorded for sabudaaopa-muyafafig-bafua →
FAQ
It is an npm package associated with the tea.xyz token reward campaign that has been identified to contain malicious code.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and pollution of the npm registry.
You should uninstall the package immediately using 'npm uninstall sabudaaopa-muyafafig-bafua' and monitor your project for any further issues.
Regularly audit your dependencies, use tools like Vulert to monitor for vulnerabilities, and avoid installing packages from untrusted sources.
Yes, Vulert can monitor your package-lock.json for vulnerabilities in real-time without requiring code access or installation.