Malicious Code Vulnerability in chavez-teadev Package
Summary
MAL-2025-100353: Malicious code in chavez-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 chavez-teadev package is part of the npm ecosystem, primarily used for various development tasks. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package is designed to inflate developer reputation scores through automated scripts that publish numerous variants with altered metadata.
Vulnerability Detail
The vulnerability originates from the package being associated with the tea.xyz token reward campaign, which employs malicious scripts to modify the package.json file. This includes removing private flags, changing version numbers, and generating random package names. The continuous republishing of these variants pollutes the npm registry, potentially leading to reputation damage for developers and security risks for users who unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall chavez-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, avoid using the chavez-teadev package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project using Vulert to ensure that you are alerted to any vulnerabilities in your dependencies.
Conclusion
The chavez-teadev package poses a significant risk due to its association with malicious scripts designed to manipulate the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the security and integrity of their projects.
See every vulnerability recorded for chavez-teadev →
FAQ
The chavez-teadev package is an npm package used for development tasks but has been identified as part of a malicious campaign.
The vulnerability can lead to the installation of malicious code, which may compromise your project's integrity and security.
You should uninstall the chavez-teadev package immediately and check for any dependencies that may be affected.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time without requiring access to the code.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.