Malicious Code Injection in nokire-zabuza48: A Threat to npm Packages
Summary
MAL-2025-163538: Malicious code in nokire-zabuza48 (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 package nokire-zabuza48 is part of the npm ecosystem, which is widely used for JavaScript package management. This package is linked to the tea.xyz token reward campaign, notorious for flooding the npm registry with malicious packages. The primary function of such packages is to manipulate developer reputation scores through automated publishing scripts, which can lead to significant security risks for users relying on npm packages.
Vulnerability Detail
The vulnerability in nokire-zabuza48 originates from its design to include malicious code that alters the package.json file. This code removes private flags, changes version numbers, and generates random package names, effectively polluting the npm registry. The ramifications include potential exposure to malicious software, compromised systems, and a degradation of trust in the npm ecosystem. The malicious payload is executed through scripts named auto.js, autopublish.js, and similar variants, which continuously republish altered packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-zabuza48
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 prevent the installation of this package by using npm's package-lock.json file to monitor dependencies. Ensure that your project does not include nokire-zabuza48 by checking your package.json and removing any references to it.
Conclusion
The nokire-zabuza48 package poses a significant threat due to its malicious code that alters project dependencies. It is essential to take immediate action by updating or removing the package to safeguard your project. Utilizing tools like Vulert can help maintain the security of your applications by providing real-time alerts for vulnerabilities.
See every vulnerability recorded for nokire-zabuza48 →
FAQ
Nokire-zabuza48 is an npm package associated with the tea.xyz token reward campaign, which is known for distributing malicious code.
The vulnerability can lead to the installation of malicious code that alters your project's dependencies and compromises security.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
If you cannot update the package, consider removing it from your project to avoid potential security risks.
Regularly monitor your dependencies using tools like Vulert, which alerts you to open-source vulnerabilities in real-time.