Malicious Code Injection in nokire-akaza59: A Threat to npm Ecosystem
Summary
MAL-2025-162273: Malicious code in nokire-akaza59 (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-akaza59' is part of a series of malicious packages that emerged during the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing numerous derivative packages with randomized names. The malicious nature of this package compromises the integrity of the npm registry and poses a risk to developers who may unknowingly use it.
Vulnerability Detail
The vulnerability in 'nokire-akaza59' originates from its design to include autopublish scripts that modify the package.json file. This modification removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The ramifications include pollution of the npm registry, potential security risks for developers using these packages, and a compromised reputation system within the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-akaza59
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 manually remove the 'nokire-akaza59' package from your project by running the command: npm uninstall nokire-akaza59. Additionally, consider using a tool 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-akaza59' package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package metadata and inflate developer reputation scores. It is essential for developers to be vigilant and remove such packages from their projects to maintain security and integrity.
See every vulnerability recorded for nokire-akaza59 →
FAQ
'nokire-akaza59' is a malicious npm package that is part of a campaign to inflate developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the pollution of the npm registry, potential security risks, and the introduction of unwanted packages into your project.
You should immediately uninstall the package using the command 'npm uninstall nokire-akaza59' and check for any other affected packages.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software using just package-lock.json.
You can check your application for vulnerabilities related to 'nokire-akaza59' using the Vulert playground at Vulert Scanner without needing to sign up.