Malicious Code Injection in mahnud-uu-goi: npm Package Vulnerability
Summary
MAL-2025-159138: Malicious code in mahnud-uu-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-uu-goi' 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 that aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores through automated publishing scripts. The vulnerability arises from the package's ability to modify its own metadata and republish itself under various names, posing significant risks to developers and users relying on npm packages.
Vulnerability Detail
The vulnerability in 'mahnud-uu-goi' originates from its inclusion in a malicious campaign that utilizes autopublish scripts to generate and publish numerous derivative packages with randomized names. This behavior not only pollutes the npm registry but also modifies the package.json file to remove private flags and alter version numbers. The ramifications include potential security risks for users who may unknowingly install these malicious packages, leading to compromised systems and data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mahnud-uu-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 measure, you can avoid using the 'mahnud-uu-goi' package and any packages that may have been derived from it. Regularly audit your npm packages using tools like 'npm audit' to identify and address vulnerabilities in your dependencies.
Conclusion
The 'mahnud-uu-goi' package poses a significant security risk due to its malicious nature and the ability to manipulate npm registry data. It is crucial for developers to be vigilant about the packages they use and to regularly audit their dependencies to maintain the security of their applications.
See every vulnerability recorded for mahnud-uu-goi →
FAQ
The 'mahnud-uu-goi' package is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
This vulnerability can lead to the installation of malicious packages, which may compromise your project's security and integrity.
You should uninstall the package immediately using 'npm uninstall mahnud-uu-goi' and audit your project for any other vulnerable dependencies.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.