Malicious Code Injection in nokire-zenitsu52: A Threat to npm Ecosystem
Summary
MAL-2025-163642: Malicious code in nokire-zenitsu52 (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-zenitsu52 is part of the npm ecosystem, which is widely used for JavaScript package management. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores for token rewards. The presence of such malicious packages poses a significant risk to developers and users relying on npm for secure package management.
Vulnerability Detail
The vulnerability in nokire-zenitsu52 originates from its association with the tea.xyz token reward campaign. It includes malicious code that modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of dependent projects. The ramifications include unauthorized access to sensitive data, disruption of application functionality, and a general decline in trust within the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-zenitsu52
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-zenitsu52 package and replace it with a trusted alternative. Always review the dependencies in your project and consider using tools like Vulert to monitor for vulnerabilities in real-time.
Conclusion
The nokire-zenitsu52 package poses a significant risk due to its malicious code that alters package metadata and repopulates the npm registry with harmful variants. It is essential for developers to remove this package and monitor their dependencies closely to maintain the security of their projects.
See every vulnerability recorded for nokire-zenitsu52 →
FAQ
Nokire-zenitsu52 is an npm package that has been identified as malicious, associated with the tea.xyz token reward campaign.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially compromising your project's integrity and security.
You should uninstall the package immediately using the command npm uninstall nokire-zenitsu52 and check your project for any unauthorized changes.
Regularly update your dependencies, review package sources, and use tools like Vulert to monitor for vulnerabilities in your open-source packages.
Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check if your application is affected by vulnerabilities without any signup at the Vulert playground.