Malicious Code Injection in nabuf-otin-agogi: A Threat to npm Packages
Summary
MAL-2025-161506: Malicious code in nabuf-otin-agogi (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
nabuf-otin-agogi is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry, and its primary functionality revolves around generating and publishing derivative packages. However, it has been identified as containing malicious code that compromises the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to inflate developer reputation scores for token rewards, leading to the continuous republishing of variants that pollute the npm registry. The ramifications include potential security risks for developers using these packages, as they may inadvertently integrate malicious code into their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nabuf-otin-agogi
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-agogi package until a secure version is released. Additionally, consider using npm audit to identify and address vulnerabilities in your dependencies.
Conclusion
The nabuf-otin-agogi package poses a significant threat due to its malicious code that alters package metadata and repackages it for nefarious purposes. Developers should take immediate action to update or remove this package and utilize tools like Vulert to monitor their applications for vulnerabilities.
See every vulnerability recorded for nabuf-otin-agogi →
FAQ
The vulnerability involves malicious code that modifies package.json files and repackages them, leading to potential security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
If you have nabuf-otin-agogi installed, it is recommended to update it to the latest version or remove it from your project until a secure version is available.
While specific exploits have not been detailed, the malicious behavior of the package can lead to the introduction of harmful code into applications.
Vulert uses your package-lock.json to monitor for vulnerabilities in real-time, providing alerts for any open-source vulnerabilities in your software.