Malicious Code Injection in nokire-genji100: A Threat to npm Ecosystem
Summary
MAL-2025-162496: Malicious code in nokire-genji100 (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-genji100' is part of a broader campaign targeting the npm ecosystem, specifically linked to the tea.xyz token reward initiative. This package is designed to manipulate npm's publishing system, creating numerous derivative packages with randomized names. Its primary function is to inflate developer reputation scores for token rewards, making it a potential threat to the integrity of the npm registry.
Vulnerability Detail
The vulnerability in 'nokire-genji100' originates from its malicious intent to modify the package.json file by removing private flags and altering version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants. This behavior not only pollutes the npm registry but also compromises the security and reliability of packages within the ecosystem, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-genji100
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 measure, you can avoid using the 'nokire-genji100' package and monitor your package-lock.json for any unauthorized changes. Regularly audit your npm packages using 'npm audit' to identify any vulnerabilities.
Conclusion
The 'nokire-genji100' package poses a significant threat to the npm ecosystem due to its malicious behavior aimed at manipulating package publishing. Immediate action is required to remove this package and safeguard your projects from potential exploitation. Regular audits and monitoring using tools like Vulert can help maintain the integrity of your dependencies.
See every vulnerability recorded for nokire-genji100 →
FAQ
'nokire-genji100' is a malicious npm package that is part of a campaign to inflate developer reputation scores through the creation of numerous derivative packages.
The vulnerability can lead to the pollution of the npm registry and may compromise the security of your project by introducing untrusted packages.
You should uninstall 'nokire-genji100' immediately using 'npm uninstall nokire-genji100' and audit your project for any other vulnerabilities.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. Visit Vulert Scanner to check your application.
While there is currently no patch available, it is important to stay updated with the package's repository for any future fixes.