Malicious Code Injection in mahnud-unaggi-goi: A Threat to npm Ecosystem
Summary
MAL-2025-159118: Malicious code in mahnud-unaggi-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 package 'mahnud-unaggi-goi' 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, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability in 'mahnud-unaggi-goi' originates from its association with the tea.xyz token reward campaign. It contains malicious scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only compromises the integrity of the affected package but also poses a risk to the entire npm ecosystem by cluttering the registry with potentially harmful packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mahnud-unaggi-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-unaggi-goi' package and any packages that depend on it. Regularly monitor your dependencies and remove any that are not essential to your project.
Conclusion
The 'mahnud-unaggi-goi' package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package metadata and publish harmful derivatives. Immediate action is required to remove this package and safeguard your projects.
See every vulnerability recorded for mahnud-unaggi-goi →
FAQ
The main issue is that it contains malicious code that modifies package.json files and floods the npm registry with derivative packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
You should uninstall the package immediately using 'npm uninstall mahnud-unaggi-goi' and check for any dependent packages.
While specific exploits have not been detailed, the malicious behavior of the package can lead to significant security risks and pollution of the npm registry.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay updated on known vulnerabilities in the packages you use.