Malicious Code Vulnerability in maya-teadf-daf Package
Summary
MAL-2025-160249: Malicious code in maya-teadf-daf (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-daf 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 but has been compromised to include malicious scripts that manipulate package metadata and publish derivative packages. The vulnerability stems from the package's design, which allows for the automatic generation and publication of variants, leading to potential abuse in the npm registry.
Vulnerability Detail
The vulnerability in the maya-teadf-daf package involves malicious code that modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior is intended to inflate developer reputation scores for token rewards, resulting in a polluted npm registry. The malicious payload can lead to unauthorized access and manipulation of package metadata, potentially affecting the integrity of dependent projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall maya-teadf-daf
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-daf package from your project by executing the following command: npm uninstall maya-teadf-daf. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The maya-teadf-daf package has been identified as containing malicious code that can compromise the security of projects using it. It is essential to take immediate action by uninstalling the package and monitoring for updates. Utilizing tools like Vulert can help in maintaining the security of your open-source dependencies.
See every vulnerability recorded for maya-teadf-daf →
FAQ
The maya-teadf-daf package is an npm package associated with the tea.xyz token reward campaign, designed to facilitate token rewards but has been compromised with malicious code.
The vulnerability can lead to unauthorized modifications of your project's package metadata, potentially compromising the integrity and security of your application.
If you are using the maya-teadf-daf package, it is crucial to uninstall it immediately and monitor for any updates or patches that address this vulnerability.
You can use tools like Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground without any signup.
To prevent future vulnerabilities, regularly audit your dependencies, use trusted sources for packages, and consider implementing automated tools that can alert you to potential security issues.