Malicious Code Injection in mahnud-unoagoagi-goi Package
Summary
MAL-2025-159126: Malicious code in mahnud-unoagoagi-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-unoagoagi-goi package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which are often created with randomized names. The primary functionality of this package is to inflate developer reputation scores for token rewards, but it has been compromised to include malicious scripts that can alter package configurations.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the mahnud-unoagoagi-goi package. This code modifies the package.json file by removing private flags, changing version numbers, and generating random package names. The malicious payload continuously republishes these variants, leading to pollution of the npm registry and potential exploitation of developers who unknowingly use these compromised packages. The ramifications include loss of control over package integrity and potential security risks for applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mahnud-unoagoagi-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 avoid using the mahnud-unoagoagi-goi package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The mahnud-unoagoagi-goi package contains malicious code that poses significant risks to developers and their projects. It is essential to remove this package and monitor for any similar vulnerabilities using tools like Vulert. Staying informed and proactive can help maintain the integrity of your software.
See every vulnerability recorded for mahnud-unoagoagi-goi →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code can modify your package.json, remove private flags, and republish variants, potentially compromising your project's integrity.
You should uninstall the package immediately using npm uninstall mahnud-unoagoagi-goi and check for any other affected packages.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.