Malicious Code Injection in ectsuu-devapptea: A Threat to npm Ecosystem
Summary
MAL-2025-101875: Malicious code in ectsuu-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
ectsuu-devapptea is a package associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous derivative packages. This package is designed to facilitate the generation and publication of these derivative packages, often containing scripts that manipulate package metadata for malicious purposes.
Vulnerability Detail
The vulnerability in ectsuu-devapptea stems from its inclusion in a campaign that deploys malicious scripts (auto.js, autopublish.js, etc.) to alter package.json files. These scripts remove private flags, modify version numbers, and create random package names, leading to the pollution of the npm registry. This behavior not only affects the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ectsuu-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 ectsuu-devapptea package from your project by executing: npm uninstall ectsuu-devapptea. This will prevent any malicious scripts from executing until a proper fix is applied.
Conclusion
The ectsuu-devapptea package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to stay vigilant, update their dependencies, and utilize monitoring tools like Vulert to safeguard their projects.
See every vulnerability recorded for ectsuu-devapptea →
FAQ
ectsuu-devapptea is an npm package linked to the tea.xyz token reward campaign, which is known for flooding the npm registry with derivative packages.
The vulnerability can lead to the modification of your package.json file, potentially exposing your project to further risks and affecting its integrity.
If you have installed ectsuu-devapptea, it is recommended to uninstall it immediately and check for any other affected packages in your project.
Yes, you can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities using just your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly update your dependencies and utilize tools like Vulert to monitor for vulnerabilities in your open-source packages.