Malicious Code Injection in nokire-zenitsu48: A Threat to npm Ecosystem
Summary
MAL-2025-163637: Malicious code in nokire-zenitsu48 (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-zenitsu48' is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior not only clutters the npm registry but also poses security risks to developers who may unknowingly use these compromised packages.
Vulnerability Detail
The vulnerability in 'nokire-zenitsu48' originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This allows the package to continuously republish variants, polluting the npm registry and potentially leading to the exploitation of developers who rely on these packages. The malicious scripts included in this package are designed to automate the process of publishing, making it difficult for developers to track and manage their dependencies effectively.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-zenitsu48
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 'nokire-zenitsu48' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your npm packages for vulnerabilities using tools like npm audit.
Conclusion
The 'nokire-zenitsu48' package poses a significant risk due to its malicious code designed to manipulate package metadata and flood the npm registry. Developers are advised to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for nokire-zenitsu48 →
FAQ
The main issue is that it contains malicious code that modifies package.json files and floods the npm registry with derivative packages.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
You should uninstall the package immediately using the command: npm uninstall nokire-zenitsu48.
Yes, tools like Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software.
Using compromised packages can lead to security vulnerabilities, data breaches, and the potential for malicious actors to exploit your application.