Malicious Code Injection in mahnud-nofty-muatgu Package
Summary
MAL-2025-159102: Malicious code in mahnud-nofty-muatgu (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-muatgu package is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to automate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. This behavior poses significant risks to the integrity of the npm registry and the security of applications relying on these packages.
Vulnerability Detail
The vulnerability in the mahnud-nofty-muatgu package stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising applications that depend on these packages. 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 mahnud-nofty-muatgu
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 this malicious package by using npm's package-lock.json to monitor your dependencies. Ensure that your project does not include mahnud-nofty-muatgu in its dependency tree. You can also use tools like Vulert to monitor and alert you in real-time for open-source vulnerabilities in your software.
Conclusion
The mahnud-nofty-muatgu package poses a significant security risk due to its malicious behavior aimed at inflating developer reputation scores. It is crucial for developers to remove this package from their projects and utilize tools like Vulert for ongoing monitoring of vulnerabilities in their applications.
See every vulnerability recorded for mahnud-nofty-muatgu →
FAQ
mahnud-nofty-muatgu is an npm package that is part of a malicious campaign to inflate developer reputation scores through automated package publishing.
This vulnerability can lead to the pollution of the npm registry and may compromise the security of applications that depend on the affected package.
You should uninstall the mahnud-nofty-muatgu package immediately and ensure that your project does not include it in its dependencies.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.