Malicious Code Injection in nokire-rara86: A Threat to npm Ecosystem
Summary
MAL-2025-163379: Malicious code in nokire-rara86 (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-rara86' is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior not only clutters the npm registry but also poses significant security risks to developers who may unknowingly use these compromised packages.
Vulnerability Detail
The vulnerability in 'nokire-rara86' stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This allows the package to continuously republish variants, polluting the npm registry. The origin of this issue is linked to a broader campaign aimed at exploiting the npm ecosystem for token rewards, which can lead to potential security breaches and loss of developer trust.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-rara86
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 measure, you can avoid using 'nokire-rara86' and any other packages associated with the tea.xyz campaign. Regularly audit your package dependencies using tools like npm audit to identify and mitigate risks.
Conclusion
The 'nokire-rara86' package poses a significant risk due to its malicious code designed to manipulate the npm registry. Developers are advised to remove this package and monitor their dependencies closely to maintain security. Utilizing tools like Vulert can aid in identifying vulnerabilities without complex setups.
See every vulnerability recorded for nokire-rara86 →
FAQ
The main issue is that it contains malicious code that modifies package.json and repackages itself, leading to potential security vulnerabilities.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
If you have installed nokire-rara86, it is crucial to remove it immediately and check for any other affected packages in your project.
Yes, tools like npm audit and Vulert can help you identify and manage vulnerabilities in your npm packages.
Using compromised packages can lead to security breaches, data loss, and damage to your project's integrity and reputation.