Malicious Code Injection in tfcbxt-devapptea: A Threat to npm Users
Summary
MAL-2025-109575: Malicious code in tfcbxt-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 tfcbxt-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 presence of such packages poses a significant risk to developers and users relying on npm for package management.
Vulnerability Detail
The vulnerability in tfcbxt-devapptea stems from its malicious payload that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to inflate developer reputation scores fraudulently and pollute the npm registry with numerous variants. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms for malicious purposes.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tfcbxt-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 tfcbxt-devapptea package and any other packages that may be part of the tea.xyz campaign. Regularly audit your dependencies using tools like npm audit to identify and address vulnerabilities.
Conclusion
The tfcbxt-devapptea package presents a significant risk due to its malicious behavior aimed at manipulating npm's publishing system. It is crucial for developers to be vigilant, remove any affected packages, and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for tfcbxt-devapptea →
FAQ
tfcbxt-devapptea is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the pollution of your npm registry with numerous malicious packages, potentially compromising the integrity of your project and its dependencies.
If you have installed tfcbxt-devapptea, you should uninstall it immediately using 'npm uninstall tfcbxt-devapptea' and check your package-lock.json for any references.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.