Malicious Code Injection in nokire-rara70: A Threat to npm Ecosystem
Summary
MAL-2025-163362: Malicious code in nokire-rara70 (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-rara70' is part of a series of malicious npm packages associated with the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by creating and publishing numerous derivative packages with randomized names. This behavior aims to inflate developer reputation scores for token rewards, compromising the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'nokire-rara70' originates from its malicious code, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This not only affects the reputation of legitimate developers but also poses a risk of dependency confusion and potential exploitation of downstream applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-rara70
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 avoid using the 'nokire-rara70' package and instead look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The 'nokire-rara70' package poses a significant threat to the npm ecosystem through its malicious behavior. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. By taking proactive measures, you can protect your applications from potential exploitation.
See every vulnerability recorded for nokire-rara70 →
FAQ
'nokire-rara70' is a malicious npm package that is part of a campaign to manipulate the npm registry and inflate developer reputation scores.
The vulnerability can lead to dependency confusion, potential exploitation, and pollution of the npm registry, affecting the integrity of your application.
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-rara70' and review your project's dependencies for any other malicious packages.
Yes, Vulert provides a service that monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file.