Malicious Code Injection in vczdav-devapptea Package
Summary
MAL-2025-110378: Malicious code in vczdav-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 vczdav-devapptea package is part of the npm ecosystem, primarily associated with the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability in the vczdav-devapptea package originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising other packages. The malicious scripts (auto.js, autopublish.js, etc.) are designed to automate this process, making it difficult for developers to track and mitigate the impact.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vczdav-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 workaround, you can manually inspect your package-lock.json file for any instances of vczdav-devapptea and remove it. Additionally, consider using tools like Vulert to monitor your dependencies 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 vczdav-devapptea package has been identified as containing malicious code that compromises its integrity and poses security risks. It is crucial for developers to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can help in maintaining the security of your open-source dependencies.
See every vulnerability recorded for vczdav-devapptea →
FAQ
The vczdav-devapptea 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 generates random package names, which can lead to pollution of the npm registry and potential security risks.
You should remove the vczdav-devapptea package from your project and monitor for any updates or patches that may be released.
Yes, Vulert allows you to monitor and alert for open-source vulnerabilities in your software using just your package-lock.json file.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay informed about vulnerabilities in the packages you use.