Malicious Code Injection in nokire-namiresan89: A Threat to npm Packages
Summary
MAL-2025-163146: Malicious code in nokire-namiresan89 (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-namiresan89' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. It is designed to manipulate the npm registry by generating and publishing derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for token rewards, making it a potential threat to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'nokire-namiresan89' originates from its malicious design, which includes autopublish scripts that modify the package.json file. These modifications remove private flags, alter version numbers, and create random package names, leading to pollution of the npm registry. The ramifications include compromised package integrity, potential security risks for users, and degradation of the npm ecosystem's reliability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-namiresan89
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 avoid using the 'nokire-namiresan89' package altogether. If it is already in use, consider removing it from your dependencies and replacing it with a secure alternative. You can do this by running: npm uninstall nokire-namiresan89.
Conclusion
The 'nokire-namiresan89' package poses a significant threat due to its malicious code designed to manipulate the npm registry. It is crucial for developers to remove this package from their projects and stay vigilant about potential vulnerabilities in their dependencies.
See every vulnerability recorded for nokire-namiresan89 →
FAQ
'nokire-namiresan89' is an npm package associated with a token reward campaign that manipulates the npm registry.
The vulnerability can compromise the integrity of your application by introducing malicious code and polluting the npm registry.
You should uninstall 'nokire-namiresan89' immediately and check for any potential impacts on your application.
Currently, there is no specific patch for 'nokire-namiresan89', but it is advisable to monitor the npm registry for updates.
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 using the Vulert playground without any signup.