Malicious Code Injection in maya-teadf-daffmu Package
Summary
MAL-2025-160252: Malicious code in maya-teadf-daffmu (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-daffmu 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 functionality of this package is to facilitate token rewards, but it has been compromised to include harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the package, which includes scripts designed to automatically generate and publish derivative packages with randomized names. These scripts 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 further exploitation and security risks for users of the affected packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall maya-teadf-daffmu
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-daffmu package from your project by executing the command: npm uninstall maya-teadf-daffmu. This will prevent the execution of any malicious scripts associated with the package until a secure version is available.
Conclusion
The maya-teadf-daffmu package has been identified as containing malicious code that can compromise the integrity of applications using it. It is crucial to take immediate action by updating or removing the package to safeguard your project from potential exploitation. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for maya-teadf-daffmu →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, which has been compromised to include malicious scripts.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially allowing for further exploitation and security risks.
You should immediately update the package to the latest version or uninstall it until a secure version is released.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.