Malicious Code Injection in mahnud-nofty-mutaagu Package
Summary
MAL-2025-159107: Malicious code in mahnud-nofty-mutaagu (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 mahnud-nofty-mutaagu package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. It is designed to facilitate the automatic generation and publication of derivative packages. However, this package has been identified as malicious, containing scripts that manipulate package metadata to inflate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious scripts in the mahnud-nofty-mutaagu package. These scripts modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and compromises the integrity of the ecosystem. The malicious payload can potentially affect developers relying on npm for package management, leading to security risks and reputation damage.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mahnud-nofty-mutaagu
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 mahnud-nofty-mutaagu package from your project by running the command: npm uninstall mahnud-nofty-mutaagu. This will help mitigate the risk until a patched version is available.
Conclusion
The mahnud-nofty-mutaagu package has been identified as containing malicious code that compromises the integrity of the npm ecosystem. It is crucial for developers to take immediate action by updating or removing the package to safeguard their projects.
See every vulnerability recorded for mahnud-nofty-mutaagu →
FAQ
The mahnud-nofty-mutaagu package is an npm package associated with the tea.xyz token reward campaign, designed to automate the publication of derivative packages.
The vulnerability can lead to the modification of your package.json file, potentially compromising your project's integrity and security.
If you have installed the mahnud-nofty-mutaagu package, it is advisable to uninstall it immediately and monitor for any updates or patches.
Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software. You can check your application using the Vulert playground without any signup.
Vulert is a tool that monitors open-source vulnerabilities in your software using just the package-lock.json file, providing real-time alerts for any issues.