Malicious Code Injection in xzepdx-devapptea Package
Summary
MAL-2025-111137: Malicious code in xzepdx-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 xzepdx-devapptea package is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with malicious 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 compromises the integrity of the npm registry and poses a risk to developers using it.
Vulnerability Detail
The vulnerability in the xzepdx-devapptea package originates from its design to include autopublish scripts that modify the package.json file. This modification removes private flags, alters version numbers, and generates random package names, leading to pollution of the npm registry. The ramifications include potential security risks for developers who unknowingly use these malicious packages, as they may inadvertently expose their applications to further vulnerabilities or malicious activities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall xzepdx-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 avoid using the xzepdx-devapptea package altogether. If it is already included in your project, consider removing it and replacing it with a trusted alternative. You can use the following command to uninstall the package: npm uninstall xzepdx-devapptea.
Conclusion
The xzepdx-devapptea package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is essential for developers to be vigilant and remove such packages from their projects to maintain the security and integrity of their applications.
See every vulnerability recorded for xzepdx-devapptea →
FAQ
The xzepdx-devapptea package is part of a malicious campaign that aims to inflate developer reputation scores in the npm ecosystem.
Using the xzepdx-devapptea package can expose your application to security risks and compromise the integrity of your software.
If you have installed the xzepdx-devapptea package, it is crucial to uninstall it immediately and monitor your application for any unusual behavior.
Yes, tools like Vulert can help monitor and alert you in real-time for open-source vulnerabilities in your software without requiring access to the code.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.