Malicious Code Injection in nokire-rara88: A Threat to npm Packages
Summary
MAL-2025-163381: Malicious code in nokire-rara88 (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-rara88' is part of the npm ecosystem, which is widely used for JavaScript package management. It is designed to facilitate the development and sharing of software components. However, this particular package has been identified as part of a malicious campaign that aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. This behavior poses a significant risk to the integrity of the npm registry and the security of applications relying on these packages.
Vulnerability Detail
The vulnerability in 'nokire-rara88' originates from its association with the tea.xyz token reward campaign. The package contains scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This malicious behavior leads to the continuous republishing of variants, which pollutes the npm registry and can potentially compromise applications that depend on these packages. The ramifications include loss of trust in the npm ecosystem, potential data breaches, and increased difficulty in managing dependencies.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-rara88
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 prevent the installation of the 'nokire-rara88' package by adding it to your npm ignore list or by using a package manager that allows you to lock down dependencies. Additionally, consider using tools 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.
Conclusion
The 'nokire-rara88' package poses a significant threat due to its malicious code designed to manipulate the npm registry. It is crucial for developers to be vigilant and take immediate action to remove this package from their projects. Utilizing tools like Vulert can help in monitoring and preventing future vulnerabilities.
See every vulnerability recorded for nokire-rara88 →
FAQ
'nokire-rara88' is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
The vulnerability can lead to the installation of malicious code, which may compromise the security and integrity of your application.
You should uninstall the package immediately using 'npm uninstall nokire-rara88' and check your package-lock.json for any references.
You can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay updated on known vulnerabilities in the npm ecosystem.