Malicious Code Injection in nabuf-otmbin-nuyaagfgitad Package
Summary
MAL-2025-161556: Malicious code in nabuf-otmbin-nuyaagfgitad (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 nabuf-otmbin-nuyaagfgitad package is part of the npm ecosystem and appears to be 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. Its functionality is compromised due to the presence of malicious scripts that alter package metadata and republish variants, leading to potential pollution of the npm registry.
Vulnerability Detail
The vulnerability stems from malicious code embedded within the nabuf-otmbin-nuyaagfgitad 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 scripts (auto.js, autopublish.js, etc.) are designed to continuously republish these variants, which can lead to a significant increase in noise within the npm registry, affecting developers and users relying on legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nabuf-otmbin-nuyaagfgitad
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 nabuf-otmbin-nuyaagfgitad package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly monitor your dependencies for vulnerabilities using tools like Vulert.
Conclusion
The nabuf-otmbin-nuyaagfgitad package contains malicious code that poses a significant risk to developers and users within the npm ecosystem. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain the integrity of your projects.
See every vulnerability recorded for nabuf-otmbin-nuyaagfgitad →
FAQ
It is an npm package that is part of a token reward campaign and is designed to generate and publish derivative packages automatically.
The malicious code modifies your package.json file, removes private flags, and can lead to the pollution of the npm registry with unwanted packages.
You should uninstall the nabuf-otmbin-nuyaagfgitad package immediately and monitor your project for any other vulnerabilities.
Yes, you can use Vulert's playground at Vulert Scanner to check your application for vulnerabilities without needing to sign up.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay informed about known vulnerabilities in the packages you use.