Malicious Code Vulnerability in nokire-rara1 Package
Summary
MAL-2025-163294: Malicious code in nokire-rara1 (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 nokire-rara1 package is part of the npm ecosystem, often used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. This package, like others in the campaign, is designed to inflate developer reputation scores through automated publishing scripts, which can lead to significant issues in the npm ecosystem.
Vulnerability Detail
The vulnerability in the nokire-rara1 package stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-rara1
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 remove the nokire-rara1 package from your project by executing the following command: 'npm uninstall nokire-rara1'. This will prevent any malicious code from executing in your application until a secure version is available.
Conclusion
The nokire-rara1 package contains a significant vulnerability due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to take immediate action by updating or removing the package to protect their applications from potential threats.
See every vulnerability recorded for nokire-rara1 →
FAQ
The nokire-rara1 package is an npm package that is part of a campaign to inflate developer reputation scores through automated publishing.
The vulnerability can lead to the introduction of malicious code in your application, potentially compromising its security and integrity.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
If you cannot update the package, consider removing it from your project until a secure version is released.
More information can be found in the vulnerability report on the Open Source Vulnerability database or by consulting the package's repository.