Malicious Code Injection in tvywfe-devapptea: npm Package Vulnerability
Summary
MAL-2025-109892: Malicious code in tvywfe-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 package tvywfe-devapptea is part of the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages are designed to inflate developer reputation scores through the automatic generation and publication of derivative packages with randomized names. This behavior poses a significant risk to developers and users relying on npm packages for their applications.
Vulnerability Detail
The vulnerability in tvywfe-devapptea originates from its malicious payload that modifies the package.json file by removing private flags and changing version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This not only compromises the integrity of the npm ecosystem but also potentially exposes users to security risks associated with unverified packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tvywfe-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 tvywfe-devapptea package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package dependencies using tools like Vulert, which alerts you to open-source vulnerabilities in real-time.
Conclusion
The tvywfe-devapptea package poses a significant risk due to its malicious behavior of modifying package files and flooding the npm registry. It is essential for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the security of their applications.
See every vulnerability recorded for tvywfe-devapptea →
FAQ
tvywfe-devapptea is an npm package that is part of a token reward campaign, known for flooding the npm registry with malicious packages.
The vulnerability can lead to the introduction of unverified and potentially harmful code into your application, compromising its security and integrity.
You should uninstall the tvywfe-devapptea package immediately and monitor your project for any other potentially vulnerable packages.
You can use tools like Vulert, which allows you to monitor and alert for open-source vulnerabilities in your software without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.