Malicious Code Injection in nokire-rara79: A Threat to npm Users
Summary
MAL-2025-163370: Malicious code in nokire-rara79 (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-rara79' 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 a significant risk to users who may unknowingly install these malicious packages.
Vulnerability Detail
The vulnerability in 'nokire-rara79' stems from its malicious code that 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 unintentional installations of compromised packages, potentially exposing users to further security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-rara79
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-rara79' package and any other packages associated with the tea.xyz token reward campaign. Monitor your package-lock.json file for any unauthorized changes and remove any suspicious packages immediately.
Conclusion
The 'nokire-rara79' package poses a significant threat due to its malicious code designed to manipulate npm package management. Users are advised to uninstall this package and monitor their projects for any unauthorized changes. Utilizing tools like Vulert can help maintain the security of your open-source dependencies.
See every vulnerability recorded for nokire-rara79 →
FAQ
The main issue is that it contains malicious code that modifies package.json files and repopulates the npm registry with potentially harmful packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit the Vulert playground at Vulert Scanner to check your application without any signup.
If you have installed nokire-rara79, you should uninstall it immediately using 'npm uninstall nokire-rara79' and check your project for any unauthorized changes.
Yes, the impacts include potential exposure to malicious code, unauthorized changes to your project files, and the risk of installing further compromised packages.
To prevent similar vulnerabilities, regularly audit your dependencies, use tools like Vulert for monitoring, and stay informed about the latest security advisories related to your packages.