Malicious Code Injection in nokire-rara95: A Threat to npm Ecosystem
Summary
MAL-2025-163389: Malicious code in nokire-rara95 (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-rara95' is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores through automated publishing scripts, which can lead to significant pollution of the npm registry and compromise the integrity of the ecosystem.
Vulnerability Detail
The vulnerability in 'nokire-rara95' originates from its involvement in the tea.xyz token reward campaign. The package contains malicious scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior allows the package to continuously republish variants, which can lead to the proliferation of potentially harmful packages in the npm registry. The ramifications include the risk of developers inadvertently using compromised packages, which can lead to security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-rara95
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 workaround, you can temporarily avoid using the 'nokire-rara95' package and check your project for any dependencies that might be using it. You can also use the Vulert platform to monitor your project for vulnerabilities. To check if your application is affected, you can use the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The 'nokire-rara95' package poses a significant threat to the npm ecosystem due to its malicious behavior. It is crucial for developers to be vigilant and proactive in managing their dependencies. By removing this package and utilizing tools like Vulert, developers can help maintain the integrity of their projects and the broader npm community.
See every vulnerability recorded for nokire-rara95 →
FAQ
The main issue is that it contains malicious code that modifies package.json and floods the npm registry with derivative packages.
You can check your package-lock.json or run 'npm ls nokire-rara95' to see if it is listed as a dependency.
You should uninstall the package immediately using 'npm uninstall nokire-rara95' and check for any other affected packages.
Yes, regularly updating your dependencies and using tools like Vulert can help monitor and alert you to potential vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.