Malicious Code Injection in nokire-genji55: A Threat to npm Ecosystem
Summary
MAL-2025-162545: Malicious code in nokire-genji55 (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-genji55' 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 significant risks to developers who may unknowingly use these compromised packages.
Vulnerability Detail
The vulnerability in 'nokire-genji55' originates from its malicious design, which includes scripts that modify the package.json file to remove private flags and change version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This can lead to the inadvertent use of compromised packages by developers, potentially exposing their applications to further vulnerabilities and malicious activities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-genji55
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 'nokire-genji55' and any other packages associated with the tea.xyz token reward campaign. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The 'nokire-genji55' package poses a significant risk to developers within the npm ecosystem due to its malicious design aimed at inflating reputation scores. It is crucial to remove this package and monitor your applications for vulnerabilities to ensure security.
See every vulnerability recorded for nokire-genji55 →
FAQ
'nokire-genji55' is an npm package that is part of a malicious campaign to inflate developer reputation scores through the automatic generation of derivative packages.
Using 'nokire-genji55' can expose your application to further vulnerabilities and malicious activities due to its design to modify package configurations and republish variants.
You should uninstall 'nokire-genji55' immediately using 'npm uninstall nokire-genji55' and check your project for any other compromised packages.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software by analyzing your package-lock.json.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.