Malicious Code Injection in nokire-rara51: A Threat to npm Users
Summary
MAL-2025-163341: Malicious code in nokire-rara51 (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-rara51' is part of a series of malicious npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for token rewards, posing a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'nokire-rara51' originates from its malicious code, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This can lead to developers unknowingly using compromised packages, resulting in potential security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-rara51
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, avoid using the 'nokire-rara51' package and monitor your project for any dependencies that may have inadvertently included it. You can also use tools like Vulert to check your package-lock.json for vulnerabilities without needing to install any software.
Conclusion
The 'nokire-rara51' package poses a significant threat to npm users due to its malicious code designed to manipulate the npm registry. It is essential to remove this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for nokire-rara51 →
FAQ
'nokire-rara51' is an npm package identified as malicious, part of a campaign to manipulate the npm registry.
This vulnerability can lead to the inclusion of compromised packages in your project, potentially exposing it to security risks.
You should uninstall 'nokire-rara51' immediately using 'npm uninstall nokire-rara51' and check your project for other vulnerabilities.
You can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability.