Malicious Code Injection in kupai-ukuta-joki: A Threat to npm Users
Summary
MAL-2025-157910: Malicious code in kupai-ukuta-joki (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 'kupai-ukuta-joki' is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by generating and publishing numerous derivative packages with altered metadata. The primary function of such packages is to inflate developer reputation scores for token rewards, which poses a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'kupai-ukuta-joki' originates from its association with the tea.xyz token reward campaign. It contains malicious scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of these variants, which pollutes the npm registry and can potentially compromise other packages and applications that rely on npm.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall kupai-ukuta-joki
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 prevent the installation of this package by using npm's package-lock.json file to monitor dependencies. Ensure that you do not include 'kupai-ukuta-joki' in your dependencies. You can also use the following command to uninstall it if it is already installed: npm uninstall kupai-ukuta-joki.
Conclusion
The 'kupai-ukuta-joki' package poses a significant threat due to its malicious code designed to manipulate the npm registry. Users are advised to uninstall this package and monitor their projects for vulnerabilities using tools like Vulert to ensure the security of their applications.
See every vulnerability recorded for kupai-ukuta-joki →
FAQ
'kupai-ukuta-joki' is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the generation of derivative packages.
The vulnerability can lead to the pollution of the npm registry, which may compromise the integrity of your application and other packages that depend on npm.
You should uninstall 'kupai-ukuta-joki' immediately to mitigate any risks associated with its malicious behavior.
Currently, there is no patched version available. The best course of action is to remove the package entirely.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can also check if your application is affected by this vulnerability using the Vulert playground without any signup.