Malicious Code Injection in gatau-app: A Threat to npm Ecosystem
Summary
MAL-2025-97840: Malicious code in gatau-app (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
gatau-app is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards through various automated scripts. However, it has been identified as containing malicious code that compromises the integrity of the npm registry by generating and publishing derivative packages with random names.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the gatau-app package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches and loss of reputation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall gatau-app
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 gatau-app package from your project by executing the command: 'npm uninstall gatau-app'. This will prevent any malicious code from executing while you seek a secure alternative.
Conclusion
The gatau-app package has been identified as containing malicious code that poses a significant threat to the npm ecosystem. It is essential to take immediate action by updating or uninstalling the package to protect your projects from potential vulnerabilities.
See every vulnerability recorded for gatau-app →
FAQ
gatau-app is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation of derivative packages.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to security vulnerabilities and reputation damage.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check if your application is affected by visiting the Vulert playground at Vulert Scanner without needing to sign up.
If you cannot update the package right away, consider uninstalling it to prevent any potential exploitation of the vulnerability.
More information can be found in the vulnerability report on the official GitHub repository or by consulting security advisories related to npm packages.