Malicious Code Injection in wati-saguer22-ruro Package
Summary
MAL-2025-110710: Malicious code in wati-saguer22-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-saguer22-ruro 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 compromises its integrity and security.
Vulnerability Detail
The vulnerability originates from the package being part of a malicious campaign that floods the npm registry with derivative packages. It includes scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior can lead to the pollution of the npm registry and potential exploitation of developers who unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wati-saguer22-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 workaround, you can monitor your project for any instances of the wati-saguer22-ruro package and remove it manually. You can also use tools like Vulert to monitor your package-lock.json file for vulnerabilities in real-time.
Conclusion
The wati-saguer22-ruro package poses a significant security risk due to its malicious code designed to manipulate package metadata and pollute the npm registry. It is crucial for developers to remove this package and monitor their dependencies for similar vulnerabilities.
See every vulnerability recorded for wati-saguer22-ruro →
FAQ
The wati-saguer22-ruro package is an npm package involved in the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and pollution of the npm registry.
You should uninstall the wati-saguer22-ruro package immediately using 'npm uninstall wati-saguer22-ruro' and check for any other affected packages.
Yes, you can use tools like Vulert to monitor your dependencies for vulnerabilities and ensure that you only use trusted packages.
You can use the Vulert playground at Vulert Scanner to check your application for vulnerabilities without needing to sign up.