Malicious Code Injection in nokire-rara19: A Threat to npm Ecosystem
Summary
MAL-2025-163305: Malicious code in nokire-rara19 (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-rara19' is part of a series of 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. The primary function of these packages is to inflate developer reputation scores for rewards in the tea protocol, making them a significant threat to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'nokire-rara19' stems from its inclusion in a malicious campaign that utilizes autopublish scripts to modify package.json files. This modification removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The ramifications include potential security risks for developers who unknowingly use these packages, as they may inadvertently integrate malicious code into their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-rara19
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 monitor your project's dependencies using tools like Vulert. By utilizing Vulert's playground at https://vulert.com/scanner, you can check if your application is affected by this vulnerability without needing to sign up. This allows you to stay informed about potential threats in real-time.
Conclusion
The 'nokire-rara19' package poses a significant threat to the npm ecosystem due to its malicious code and manipulation tactics. It is crucial for developers to be vigilant, remove affected packages, and utilize monitoring tools like Vulert to safeguard their projects against such vulnerabilities.
See every vulnerability recorded for nokire-rara19 →
FAQ
The 'nokire-rara19' package is part of a malicious npm package campaign aimed at inflating developer reputation scores for token rewards.
This vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
You should uninstall the package immediately using 'npm uninstall nokire-rara19' and check for any dependencies that may rely on it.
Yes, tools like Vulert can help monitor your dependencies for vulnerabilities in real-time without requiring code access or installation.
Regularly update your dependencies, monitor for vulnerabilities using tools like Vulert, and replace any malicious packages with secure alternatives.