Malicious Code Injection in mans-matdu-mantaixa: A Threat to npm Ecosystem
Summary
MAL-2025-159710: Malicious code in mans-matdu-mantaixa (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 'mans-matdu-mantaixa' is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate development by providing reusable code. However, it has been identified as part of a malicious campaign that exploits npm's publishing mechanisms, leading to potential security risks for developers and their applications.
Vulnerability Detail
The vulnerability in 'mans-matdu-mantaixa' originates from its association with the tea.xyz token reward campaign. This package contains scripts designed to automatically generate and publish derivative packages with randomized names, thereby inflating developer reputation scores for token rewards. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants, which can lead to pollution of the npm registry and compromise the integrity of dependent applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mans-matdu-mantaixa
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, consider removing the 'mans-matdu-mantaixa' package from your project until a secure version is released. You can do this by executing: 'npm uninstall mans-matdu-mantaixa'. Additionally, using tools like Vulert can help monitor your project for vulnerabilities without requiring code access.
Conclusion
The 'mans-matdu-mantaixa' package poses a significant threat due to its malicious code designed to manipulate npm's publishing system. Developers should take immediate action to remove this package and monitor their applications for vulnerabilities. Utilizing tools like Vulert can enhance security by providing real-time alerts for open-source vulnerabilities.
See every vulnerability recorded for mans-matdu-mantaixa →
FAQ
The main issue is that it contains malicious code that modifies package.json files and republishes variants, potentially compromising the integrity of the npm registry.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If you have installed 'mans-matdu-mantaixa', it is recommended to uninstall it immediately and monitor your project for any signs of compromise.
Yes, Vulert provides real-time monitoring and alerts for open-source vulnerabilities using just the package-lock.json file.
Using compromised packages can lead to security breaches, data leaks, and the potential for malicious actors to exploit your application.