Malicious Code Injection in mahnud-nofty-muatu Package
Summary
MAL-2025-159104: Malicious code in mahnud-nofty-muatu (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-muatu package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign targeting developers by flooding the npm registry with derivative packages. These packages are designed to inflate developer reputation scores for token rewards, making them a significant threat to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability stems from malicious code embedded in the mahnud-nofty-muatu package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The malicious payload continuously republishes these variants, polluting the npm registry and potentially compromising other packages and applications that rely on npm. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mahnud-nofty-muatu
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 prevent the installation of the mahnud-nofty-muatu package by using npm's package-lock.json file to lock your dependencies. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities without needing to access the code directly. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner.
Conclusion
The mahnud-nofty-muatu package poses a significant threat due to its malicious code designed to manipulate npm's publishing system. It is essential for developers to remove this package and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for mahnud-nofty-muatu →
FAQ
mahnud-nofty-muatu is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the automatic generation of derivative packages.
This vulnerability can lead to the pollution of the npm registry, potentially compromising other packages and applications that depend on npm, and can also affect your application's integrity.
You should uninstall the mahnud-nofty-muatu package immediately and monitor your project for any further vulnerabilities using tools like Vulert.
Currently, there is no patched version of the mahnud-nofty-muatu package available. The best course of action is to remove the package entirely.
Vulert monitors and alerts you in real-time for open-source vulnerabilities in your software using just the package-lock.json file, allowing you to stay informed without needing to access the code.