Malicious Code Injection in fgvmzt-devapptea Package
Summary
MAL-2025-102692: Malicious code in fgvmzt-devapptea (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 fgvmzt-devapptea package is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with potentially harmful packages. These packages are designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The malicious nature of this package poses a significant risk to developers and users relying on npm for secure package management.
Vulnerability Detail
The fgvmzt-devapptea package contains malicious code that modifies the package.json file by removing private flags and altering version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to a compromised development environment, inflated reputation scores for malicious actors, and potential security risks for applications using these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall fgvmzt-devapptea
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 avoid using the fgvmzt-devapptea package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your package dependencies using tools like npm audit to identify and address vulnerabilities.
Conclusion
The fgvmzt-devapptea package poses a significant risk due to its malicious code that alters package configurations and floods the npm registry. It is essential to remove this package from your projects and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for fgvmzt-devapptea →
FAQ
fgvmzt-devapptea is an npm package associated with the tea.xyz token reward campaign, known for flooding the npm registry with malicious packages.
The vulnerability can compromise your application's integrity by introducing malicious code that alters package configurations and potentially leads to security breaches.
If you have installed fgvmzt-devapptea, you should uninstall it immediately and check for any other affected packages in your project.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities. You can also check your application using the Vulert playground without any signup.
Yes, consider looking for other npm packages that provide similar functionalities but are known to be secure and free from malicious code.