Malicious Code Injection in nokire-rara49: A Threat to npm Ecosystem
Summary
MAL-2025-163338: Malicious code in nokire-rara49 (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-rara49' is part of a series of malicious packages that emerged during 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. The malicious behavior of this package poses a significant risk to the integrity of the npm registry and the security of applications relying on it.
Vulnerability Detail
The vulnerability in 'nokire-rara49' originates from its design to include autopublish scripts that modify the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the pollution of the npm registry. This can result in developers unknowingly using compromised packages, which may contain further malicious code or vulnerabilities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-rara49
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, avoid using 'nokire-rara49' and any other packages associated with the tea.xyz token reward campaign. Regularly audit your dependencies to ensure no malicious packages are included.
Conclusion
The 'nokire-rara49' package poses a significant threat to the npm ecosystem due to its malicious behavior. It is crucial for developers to be vigilant about their dependencies and utilize tools like Vulert to monitor for vulnerabilities. By removing compromised packages and staying informed, developers can protect their applications from potential threats.
See every vulnerability recorded for nokire-rara49 →
FAQ
'nokire-rara49' is a malicious npm package that is part of a campaign to inflate developer reputation scores by flooding the npm registry with derivative packages.
If your application uses 'nokire-rara49', it may inadvertently include malicious code that compromises its security and integrity.
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.
Remove the package using 'npm uninstall nokire-rara49' and audit your dependencies to ensure no other malicious packages are present.
Yes, Vulert provides a service that uses your package-lock.json to monitor for vulnerabilities in your dependencies, offering real-time alerts.