Malicious Code Injection in nokire-nakala65: A Threat to npm Users
Summary
MAL-2025-163020: Malicious code in nokire-nakala65 (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-nakala65 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 other packages and inflate developer reputation scores for token rewards. The presence of such malicious code poses a significant risk to developers and users relying on npm for their projects.
Vulnerability Detail
The vulnerability in nokire-nakala65 originates from its design to include autopublish scripts that modify package.json files. These scripts remove private flags, alter version numbers, and generate random package names, leading to a polluted npm registry. The malicious payload can compromise the integrity of projects that depend on this package, potentially allowing unauthorized access and manipulation of code. The continuous republishing of variants can also lead to confusion and difficulty in managing dependencies.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-nakala65
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 the nokire-nakala65 package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package-lock.json file for vulnerabilities in real-time.
Conclusion
The nokire-nakala65 package poses a significant threat due to its malicious code designed to manipulate npm packages. It is crucial for developers to be aware of such vulnerabilities and take immediate action to protect their projects. By uninstalling the affected package and using monitoring tools like Vulert, developers can safeguard their applications from potential risks.
See every vulnerability recorded for nokire-nakala65 →
FAQ
Nokire-nakala65 is an npm package that has been identified as malicious, associated with the tea.xyz token reward campaign.
The vulnerability can lead to unauthorized modifications of your package.json file and the introduction of malicious code into your project.
You should uninstall the package immediately using the command npm uninstall nokire-nakala65.
Yes, you can use Vulert's playground at Vulert Scanner to check if your application is affected without needing to sign up.
Regularly monitor your dependencies using tools like Vulert, and keep your packages updated to the latest versions.