Malicious Code Vulnerability in nokire-nakala48: Exploitation of npm Registry
Summary
MAL-2025-163001: Malicious code in nokire-nakala48 (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-nakala48' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores in exchange for token rewards. However, its functionality is compromised by malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in 'nokire-nakala48' stems from its inclusion in a series of malicious packages that contain scripts (such as auto.js and autopublish.js) aimed at altering package.json files. These scripts remove private flags, change version numbers, and generate random package names, leading to the pollution of the npm registry. This not only affects the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-nakala48
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-nakala48' and any other packages associated with the tea.xyz token reward campaign. Regularly audit your package-lock.json file to identify and remove any suspicious packages.
Conclusion
The 'nokire-nakala48' package poses a significant risk due to its malicious scripts that alter package metadata and pollute the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities using tools like Vulert.
See every vulnerability recorded for nokire-nakala48 →
FAQ
'nokire-nakala48' is an npm package linked to a token reward campaign that has been identified as malicious due to its scripts that manipulate package metadata.
This vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project by introducing malicious code.
If you have installed 'nokire-nakala48', you should uninstall it immediately using 'npm uninstall nokire-nakala48' and check for any other compromised packages.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
Currently, there is no patched version of 'nokire-nakala48' available. The best course of action is to remove the package entirely.