Malicious Code Injection in wati-ubi21-kyuki Package
Summary
MAL-2025-92087: Malicious code in wati-ubi21-kyuki (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 wati-ubi21-kyuki package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, it has been compromised to include malicious scripts that manipulate package metadata and flood the npm registry with unwanted variants.
Vulnerability Detail
The vulnerability in the wati-ubi21-kyuki package stems from malicious code that modifies the package.json file, removing private flags and altering version numbers. This code generates random package names and continuously republishes them, which can lead to pollution of the npm registry and inflate developer reputation scores fraudulently. The origin of this issue is linked to a broader campaign that exploits npm's publishing mechanisms, posing risks to developers and users relying on the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wati-ubi21-kyuki
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 the wati-ubi21-kyuki package by using npm's package-lock.json file to monitor dependencies. Ensure that your project does not include this package until a fix is available.
Conclusion
The wati-ubi21-kyuki package has been compromised with malicious code that poses significant risks to developers and the npm ecosystem. It is essential to take immediate action by updating or removing the package and utilizing tools like Vulert for ongoing monitoring of vulnerabilities.
See every vulnerability recorded for wati-ubi21-kyuki →
FAQ
The wati-ubi21-kyuki package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file, potentially leading to the publication of unwanted packages and compromising the integrity of your project.
If you have installed the wati-ubi21-kyuki package, you should update it to the latest version or remove it from your project to mitigate the risk.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities without requiring access to your code.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.