Malicious Code Injection in mansioda-nona-mugiag Package
Summary
MAL-2025-159920: Malicious code in mansioda-nona-mugiag (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 mansioda-nona-mugiag package is part of the npm ecosystem, often associated with token reward campaigns. It is designed to facilitate the publication of packages, but it has been compromised to include malicious scripts that manipulate package metadata. This vulnerability allows attackers to exploit the npm registry by creating numerous derivative packages, thereby inflating developer reputation scores and polluting the registry.
Vulnerability Detail
The vulnerability in the mansioda-nona-mugiag package stems from its inclusion in a malicious campaign that generates and publishes derivative packages with randomized names. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and continuously republishing variants. This not only affects the integrity of the npm registry but also poses risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mansioda-nona-mugiag
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 mansioda-nona-mugiag package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using npm audit to identify and address vulnerabilities in your project's dependencies.
Conclusion
The mansioda-nona-mugiag package has been identified as containing malicious code that can compromise the integrity of the npm registry and potentially affect projects using it. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain the security of your applications.
See every vulnerability recorded for mansioda-nona-mugiag →
FAQ
The mansioda-nona-mugiag package is an npm package that has been compromised to include malicious code, primarily aimed at manipulating the npm registry.
This vulnerability can lead to the inclusion of malicious code in your project, potentially compromising its security and integrity.
If you have installed the mansioda-nona-mugiag package, you should remove it immediately and check for any other affected packages in your project.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities 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 needing to sign up.