Malicious Code Injection in gene-teadev Package: npm Vulnerability
Summary
MAL-2025-103075: Malicious code in gene-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 gene-teadev package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of gene-teadev is to facilitate development and deployment of JavaScript applications, but it has been compromised to include harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in the gene-teadev package originates from its association with a malicious campaign that employs scripts to automatically generate and publish derivative packages. These scripts, such as auto.js and autopublish.js, modify the package.json file by removing private flags, altering version numbers, and creating random package names. This behavior not only inflates developer reputation scores for token rewards but also pollutes the npm registry, potentially leading to 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 gene-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 remove the gene-teadev package from your project by executing the following command: npm uninstall gene-teadev. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The gene-teadev package has been identified as containing malicious code that poses a significant risk to users. It is crucial to take immediate action by updating or removing the package to safeguard your applications. Regular monitoring of your dependencies is essential to maintain security.
See every vulnerability recorded for gene-teadev →
FAQ
The gene-teadev package is a JavaScript library used in the npm ecosystem, primarily for developing and deploying applications.
The vulnerability can lead to the installation of malicious packages that may compromise your application's security and integrity.
If you have installed gene-teadev, it is recommended to uninstall the package immediately and check for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.