Malicious Code Injection in txdejf-devapptea Package
Summary
MAL-2025-109894: Malicious code in txdejf-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 txdejf-devapptea package is part of the tea.xyz token reward campaign, which has been associated with a series of malicious npm packages. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior compromises the integrity of the npm registry and can lead to further exploitation.
Vulnerability Detail
The vulnerability in txdejf-devapptea arises from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This allows the package to continuously republish variants, polluting the npm registry and potentially leading to the installation of malicious code by unsuspecting developers. The origin of this vulnerability is linked to the tea.xyz token reward scheme, which incentivizes the creation of such packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall txdejf-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 remove the txdejf-devapptea package from your project by executing: npm uninstall txdejf-devapptea. This will prevent any malicious code from being executed until a secure version is available.
Conclusion
The txdejf-devapptea package is part of a malicious campaign that poses significant risks to developers and their projects. It is essential to take immediate action by updating or removing the package to safeguard your application from potential threats. Utilizing tools like Vulert can help maintain the security of your dependencies.
See every vulnerability recorded for txdejf-devapptea →
FAQ
txdejf-devapptea is an npm package associated with the tea.xyz token reward campaign, which has been identified as malicious.
The vulnerability can lead to the installation of malicious code, compromising your project's security and potentially affecting other dependencies.
If you have installed txdejf-devapptea, it is crucial to uninstall it immediately and monitor your project for any unusual behavior.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly update your dependencies, use tools like Vulert to monitor for vulnerabilities, and review the security advisories for the packages you use.