Malicious Code Injection in nokire-rara63: A Threat to npm Packages
Summary
MAL-2025-163354: Malicious code in nokire-rara63 (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-rara63' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This campaign has been known to flood the npm registry with packages that contain malicious scripts designed to inflate developer reputation scores. The primary functionality of these packages revolves around generating and publishing derivative packages with randomized names, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability in 'nokire-rara63' originates from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, primarily themed around Indonesian culture. This behavior not only compromises the integrity of the affected package but also contributes to the overall pollution of the npm registry, making it difficult for developers to find legitimate packages. The presence of autopublish scripts further automates the process of creating and publishing these malicious variants.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-rara63
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 prevent the installation of this package by using the following command to uninstall it: npm uninstall nokire-rara63. Additionally, ensure that your package-lock.json file does not reference this package to avoid reinstallation.
Conclusion
The 'nokire-rara63' package poses a significant threat to npm users due to its malicious behavior that alters package configurations and contributes to registry pollution. It is essential to remove this package from your projects and utilize tools like Vulert to monitor for future vulnerabilities.
See every vulnerability recorded for nokire-rara63 →
FAQ
'nokire-rara63' is an npm package associated with a malicious campaign that floods the npm registry with harmful packages.
This vulnerability can compromise your project's integrity by introducing malicious code that modifies package configurations and pollutes the npm registry.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
You should immediately uninstall the package using 'npm uninstall nokire-rara63' and check your project for any unauthorized changes.
Regularly monitor your dependencies using tools like Vulert, which can alert you in real-time for open-source vulnerabilities.