Malicious Code Injection in ejbwdr-devapptea: A Threat to npm Packages
Summary
MAL-2025-101901: Malicious code in ejbwdr-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
ejbwdr-devapptea is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate interactions within the tea protocol ecosystem, which incentivizes developers through token rewards. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability in ejbwdr-devapptea stems from its inclusion in a series of malicious packages that flood the npm ecosystem. These packages contain scripts that automatically modify package.json files to remove private flags, alter version numbers, and generate random package names. This behavior leads to the pollution of the npm registry and can inflate developer reputation scores fraudulently. The malicious payload is particularly concerning as it can lead to the unintentional installation of compromised packages by developers unaware of the underlying issues.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ejbwdr-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 ejbwdr-devapptea package and any other packages associated with the tea.xyz token reward campaign until they are confirmed to be safe. Monitor your package dependencies regularly and consider using tools like Vulert to check for vulnerabilities in your project.
Conclusion
The ejbwdr-devapptea package poses a significant security risk due to its malicious code that alters package metadata and pollutes the npm registry. It is crucial for developers to remove this package from their projects and utilize tools like Vulert to monitor for vulnerabilities in their dependencies.
See every vulnerability recorded for ejbwdr-devapptea →
FAQ
ejbwdr-devapptea is an npm package associated with the tea.xyz token reward campaign, which incentivizes developers through token rewards.
The malicious code modifies package.json files, removes private flags, and generates random package names, leading to potential security risks and pollution of the npm registry.
If you have installed ejbwdr-devapptea, you should uninstall it immediately using the command npm uninstall ejbwdr-devapptea.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time 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.