Malicious Code Vulnerability in tdfsfr-devapptea Package
Summary
MAL-2025-109519: Malicious code in tdfsfr-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 tdfsfr-devapptea package is part of the tea.xyz token reward campaign that has been flooding the npm ecosystem. This package is designed to facilitate token rewards through various automated scripts. However, it has been identified as containing malicious code that alters its own metadata and publishes derivative packages to manipulate developer reputation scores.
Vulnerability Detail
The vulnerability in the tdfsfr-devapptea package originates from its design to automatically generate and publish derivative packages with randomized names. This malicious behavior modifies the package.json file to remove private flags, changes version numbers, and continuously republishes variants, leading to pollution of the npm registry. This can result in security risks for developers who unknowingly install these compromised packages, potentially exposing their applications to further vulnerabilities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tdfsfr-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 tdfsfr-devapptea package and monitor your project dependencies for any malicious packages. You can also use tools like Vulert to check for vulnerabilities in your package-lock.json file.
Conclusion
The tdfsfr-devapptea package contains a significant vulnerability that can affect the security of applications using it. It is crucial to remove this package and monitor your dependencies for any malicious activity. Utilizing tools like Vulert can help in maintaining the security of your software.
See every vulnerability recorded for tdfsfr-devapptea →
FAQ
tdfsfr-devapptea is a package associated with the tea.xyz token reward campaign, designed to automate the generation of packages for token rewards.
The vulnerability can lead to the installation of malicious packages that may compromise your application's security and integrity.
You should remove the tdfsfr-devapptea package from your project immediately and check for any other potentially compromised packages.
Yes, you can use Vulert to monitor your package-lock.json file for open-source vulnerabilities in real-time without needing to install any additional software.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.