Malicious Code Injection in nabuf-otin-afofgoa Package
Summary
MAL-2025-161493: Malicious code in nabuf-otin-afofgoa (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-otin-afofgoa package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. The primary functionality of nabuf-otin-afofgoa is to serve as a token reward mechanism for the tea.xyz protocol, but it has been compromised to manipulate package metadata and inflate developer reputation scores.
Vulnerability Detail
The vulnerability in nabuf-otin-afofgoa originates from its association with the tea.xyz token reward campaign. The package contains scripts that automatically generate and publish derivative packages with randomized names, effectively polluting the npm registry. The malicious payload alters the package.json file by removing private flags, changing version numbers, and continuously republishing variants. This behavior can lead to a loss of trust in the npm ecosystem and potential security risks for developers using these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nabuf-otin-afofgoa
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-otin-afofgoa package and any packages that depend on it. Additionally, consider using a tool like Vulert to monitor your project for vulnerabilities. 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 nabuf-otin-afofgoa package poses a significant security risk due to its malicious code designed to manipulate the npm registry. It is essential to remove this package from your project and monitor for any vulnerabilities using tools like Vulert. Staying informed and proactive can help protect your applications from such threats.
See every vulnerability recorded for nabuf-otin-afofgoa →
FAQ
The nabuf-otin-afofgoa package is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to the pollution of the npm registry and potential security risks for your project, as it modifies package metadata and can affect dependencies.
You should uninstall the nabuf-otin-afofgoa package immediately using the command npm uninstall nabuf-otin-afofgoa.
Currently, there is no specific patch for the nabuf-otin-afofgoa package. The best course of action is to remove it from your project.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing the package-lock.json file. Visit https://vulert.com for more information.