Malicious Code Injection in nabuf-otomabin-nsu Package
Summary
MAL-2025-161667: Malicious code in nabuf-otomabin-nsu (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-otomabin-nsu 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 code that compromises its integrity and the security of applications that depend on it.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the nabuf-otomabin-nsu package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. It continuously republishes these variants, leading to pollution of the npm registry. The ramifications include potential exposure of sensitive data, unauthorized access to systems, and degradation of the npm ecosystem's reliability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nabuf-otomabin-nsu
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-otomabin-nsu package entirely and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The nabuf-otomabin-nsu package contains malicious code that poses significant risks to applications using it. It is crucial to uninstall this package and monitor your dependencies for vulnerabilities to maintain the security and integrity of your software.
See every vulnerability recorded for nabuf-otomabin-nsu →
FAQ
The nabuf-otomabin-nsu package is an npm package linked to the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially exposing sensitive information and compromising the security of your application.
You should uninstall the nabuf-otomabin-nsu package immediately using the command: npm uninstall nabuf-otomabin-nsu.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can check if your application is affected by this vulnerability using the Vulert playground at Vulert Scanner.
To prevent similar vulnerabilities, regularly audit your dependencies, keep them updated, and use tools like Vulert to monitor for vulnerabilities in real-time.