Malicious Code Injection in nokire-namiresan64: A Threat to npm Ecosystem
Summary
MAL-2025-163119: Malicious code in nokire-namiresan64 (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-namiresan64' is part of the npm ecosystem, which is widely used for JavaScript package management. This package 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 the npm registry and inflate developer reputation scores through the automatic generation and publication of derivative packages.
Vulnerability Detail
The vulnerability in 'nokire-namiresan64' involves malicious code that modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-namiresan64
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, avoid using the 'nokire-namiresan64' package and consider using alternative packages that provide similar functionality without the associated risks. Regularly monitor your dependencies for any malicious activity.
Conclusion
The 'nokire-namiresan64' package poses a significant threat to the npm ecosystem due to its malicious code that alters package files and floods the registry. It is crucial for developers to be vigilant, remove this package, and utilize tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for nokire-namiresan64 →
FAQ
The main issue is that it contains malicious code that modifies package.json files and floods the npm registry with unwanted packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
You should uninstall the package immediately using 'npm uninstall nokire-namiresan64' and check for any other affected packages.
Using this package can lead to security vulnerabilities in your application, including unauthorized access and data breaches.
Regularly update your dependencies, monitor your packages for vulnerabilities, and consider using tools like Vulert for real-time alerts.