Malicious Code Injection in mahnud-mfuf-goi Package
Summary
MAL-2025-159076: Malicious code in mahnud-mfuf-goi (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-mfuf-goi 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, which can inflate developer reputation scores in exchange for token rewards. However, this package has been identified as malicious due to its ability to modify package metadata and republish variants, leading to potential pollution of the npm registry.
Vulnerability Detail
The vulnerability in the mahnud-mfuf-goi package originates from its malicious code, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants. This behavior can lead to the proliferation of untrustworthy packages in the npm registry, potentially compromising the integrity of applications that depend on this ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mahnud-mfuf-goi
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 package by using npm's package-lock.json to lock your dependencies. Additionally, you can monitor your dependencies for vulnerabilities using tools like Vulert, which can alert you in real-time for open-source vulnerabilities without requiring code access or installation.
Conclusion
The mahnud-mfuf-goi package poses a significant security risk due to its malicious code that alters package metadata and repopulates the npm registry with untrustworthy packages. It is crucial to remove this package from your projects and monitor your dependencies for vulnerabilities to maintain the integrity of your applications.
See every vulnerability recorded for mahnud-mfuf-goi →
FAQ
The mahnud-mfuf-goi package is an npm package involved in the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You should uninstall the mahnud-mfuf-goi package immediately and check your project for any dependencies that may have been affected.
You can use Vulert to monitor your package-lock.json file for vulnerabilities in real-time without needing to install any additional software.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay updated on security advisories related to the packages you use.