Malicious Code Injection in nokire-namiresan9: A Threat to npm Packages
Summary
MAL-2025-163147: Malicious code in nokire-namiresan9 (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-namiresan9' is part of a broader ecosystem within npm, primarily associated with the tea.xyz token reward campaign. This package, like others in this campaign, is designed to manipulate the npm registry by generating and publishing numerous derivative packages with randomized names. Its functionality is compromised due to the presence of malicious scripts that aim to inflate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in 'nokire-namiresan9' originates from its inclusion in a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file by removing private flags and altering version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants, leading to pollution of the npm registry. This can result in developers unknowingly using compromised packages, which may lead to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-namiresan9
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 remove the 'nokire-namiresan9' package from your project by executing the command: 'npm uninstall nokire-namiresan9'. This will prevent any malicious scripts from executing in your application until a secure version is available.
Conclusion
The 'nokire-namiresan9' package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to take immediate action by uninstalling the package and monitoring for updates. Utilizing tools like Vulert can aid in maintaining the security of your applications.
See every vulnerability recorded for nokire-namiresan9 →
FAQ
'nokire-namiresan9' is an npm package associated with a token reward campaign that has been identified as malicious.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You should uninstall the package immediately and monitor for any updates or patches that may be released.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can check your application for vulnerabilities without any signup at the Vulert playground.
Regularly updating your packages and using tools like Vulert can help you stay informed about vulnerabilities in your dependencies.