Malicious Code Injection in wati-ragi9-kyuki Package
Summary
MAL-2025-92063: Malicious code in wati-ragi9-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-ragi9-kyuki package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that modifies essential files and repurposes package names.
Vulnerability Detail
The vulnerability in the wati-ragi9-kyuki package originates from its malicious payload, which alters the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, effectively polluting the npm registry. The ramifications include potential security risks for developers who unknowingly use this package, as it can compromise their projects and reputations.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wati-ragi9-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 workaround, avoid using the wati-ragi9-kyuki package altogether. If you have already installed it, ensure to remove it immediately and monitor your project for any unusual behavior. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The wati-ragi9-kyuki package poses a significant security risk due to its malicious code that alters critical files and repurposes package names. Developers are advised to remove this package from their projects and utilize tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for wati-ragi9-kyuki →
FAQ
The wati-ragi9-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, removes private flags, and can lead to the pollution of the npm registry, potentially compromising your project's security.
If you have installed the wati-ragi9-kyuki package, you should uninstall it immediately using the command npm uninstall wati-ragi9-kyuki.
Currently, there is no patched version available for the wati-ragi9-kyuki package. It is recommended to remove it from your project.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can check your application for vulnerabilities at Vulert Scanner.