Malicious Code Injection in maya-teadf-mukiso: A Threat to npm Ecosystem
Summary
MAL-2025-160261: Malicious code in maya-teadf-mukiso (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 package 'maya-teadf-mukiso' is part of the npm ecosystem, which is widely used for JavaScript package management. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate the npm registry and inflate developer reputation scores, posing a significant risk to developers and users alike.
Vulnerability Detail
The vulnerability in 'maya-teadf-mukiso' involves malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is part of a broader scheme to publish derivative packages automatically, which can lead to registry pollution and potential exploitation of unsuspecting developers. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which incentivizes the creation of such malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall maya-teadf-mukiso
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 avoid using the 'maya-teadf-mukiso' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The 'maya-teadf-mukiso' package poses a significant threat due to its malicious code that manipulates npm registry entries. It is crucial for developers to be vigilant and regularly check their dependencies for vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your projects.
See every vulnerability recorded for maya-teadf-mukiso →
FAQ
The main issue is that it contains malicious code that modifies package.json files and publishes derivative packages to the npm registry, which can lead to registry pollution.
You can check your package-lock.json file or use tools like Vulert to monitor your project for vulnerabilities in real-time.
You should uninstall the package immediately using 'npm uninstall maya-teadf-mukiso' and look for alternative packages.
Yes, using npm packages can expose your project to vulnerabilities, especially if the packages are not well-maintained or are part of malicious campaigns.
Vulert monitors your package-lock.json file to alert you in real-time about open-source vulnerabilities, helping you maintain a secure application.