Malicious Code Injection in wati-teh20-ruro Package - npm Vulnerability
Summary
MAL-2025-110719: Malicious code in wati-teh20-ruro (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-teh20-ruro package is part of the npm ecosystem, often utilized in JavaScript projects for various functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages. This package is specifically designed to manipulate developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability in the wati-teh20-ruro package stems from its involvement in the tea.xyz token reward campaign, which aims to inflate developer reputation scores. The malicious code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This results in the continuous republishing of variants that pollute the npm registry, potentially leading to security risks for developers who unknowingly use these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wati-teh20-ruro
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 wati-teh20-ruro package from your project by executing: npm uninstall wati-teh20-ruro. This will prevent any malicious code from executing while you assess alternative packages or wait for a patched version.
Conclusion
The wati-teh20-ruro package poses a significant risk due to its malicious code designed to manipulate npm registry data. It is crucial for developers to take immediate action by updating or removing the package to safeguard their projects from potential threats.
See every vulnerability recorded for wati-teh20-ruro →
FAQ
The wati-teh20-ruro package is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and the pollution of the npm registry with harmful packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By using the Vulert playground, you can check if your application is affected without any signup.
If you cannot update the package, consider uninstalling it as a temporary measure to prevent any malicious code from executing in your project.
More information can be found on the GitHub repository of the malicious packages or by consulting security advisories related to npm vulnerabilities.