Malicious Code Injection in ezperanza-teadev Package: A Threat to npm Users
Summary
MAL-2025-102459: Malicious code in ezperanza-teadev (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 ezperanza-teadev package is part of the npm ecosystem, which is widely used for JavaScript development. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts that manipulate package metadata and publish unauthorized derivatives, posing a significant risk to developers and their projects.
Vulnerability Detail
The vulnerability in the ezperanza-teadev package stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags and change version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to reputation inflation for malicious actors and can compromise the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ezperanza-teadev
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 ezperanza-teadev package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities.
Conclusion
The ezperanza-teadev package poses a significant risk due to its malicious behavior of modifying package metadata and republishing variants. 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 ezperanza-teadev →
FAQ
ezperanza-teadev is a package in the npm ecosystem that has been identified as part of a malicious campaign aimed at manipulating package metadata and inflating developer reputation scores.
This vulnerability can compromise the integrity of your project by introducing malicious code, altering package metadata, and potentially leading to security breaches.
You should uninstall the ezperanza-teadev package immediately and look for alternative packages. Use the command 'npm uninstall ezperanza-teadev' to remove it from your project.
You can use Vulert, which monitors your package-lock.json file for vulnerabilities in real-time. You can check your application against known vulnerabilities using the Vulert playground without any signup.
There are no patches available for the ezperanza-teadev package as it is recommended to remove the package entirely rather than attempting to patch it.