Malicious Code Injection in maya-teadf-hi Package
Summary
MAL-2025-160256: Malicious code in maya-teadf-hi (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 maya-teadf-hi package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards through various automated scripts. However, it has been identified as containing malicious code that compromises its integrity and the security of applications that depend on it.
Vulnerability Detail
The vulnerability in the maya-teadf-hi package originates from its association with a malicious campaign that floods the npm registry with derivative packages. These packages include scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. The continuous republishing of these variants can lead to pollution of the npm registry, potentially affecting developers' reputations and the security of their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall maya-teadf-hi
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 maya-teadf-hi package from your project by executing 'npm uninstall maya-teadf-hi'. This will prevent the malicious code from executing until a patched version is available.
Conclusion
The maya-teadf-hi package contains a serious vulnerability due to its malicious code that alters package configurations and floods the npm registry. It is crucial for developers to take immediate action by updating or removing the package to safeguard their applications.
See every vulnerability recorded for maya-teadf-hi →
FAQ
The maya-teadf-hi package is an npm package associated with the tea.xyz token reward campaign, which automates the generation of derivative packages.
The vulnerability can lead to the modification of your package.json file, potentially exposing your application to security risks and affecting your developer reputation.
You should update the package to the latest version or remove it from your project to avoid the risks associated with the vulnerability.
Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software. It analyzes your package-lock.json file to provide real-time alerts.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.