Malicious Code Injection in mansioda-nona-mug Package - npm Vulnerability Overview
Summary
MAL-2025-159919: Malicious code in mansioda-nona-mug (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-mug package is part of the npm ecosystem, often utilized in various JavaScript projects. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. This package, like others in the campaign, is designed to manipulate npm's publishing system, potentially affecting developers' reputations and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the mansioda-nona-mug package stems from its inclusion in a malicious campaign that employs autopublish scripts to generate and publish derivative packages with randomized names. These scripts modify the package.json file to remove private flags, alter version numbers, and continuously republish variants, leading to pollution of the npm registry. This not only compromises the integrity of the registry but also poses risks to developers who may unknowingly use these packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mansioda-nona-mug
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-mug package and any other packages associated with the tea.xyz token reward campaign. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The mansioda-nona-mug package poses a significant risk due to its involvement in a malicious npm campaign. It is crucial for developers to be aware of such vulnerabilities and take proactive measures to secure their projects. By removing affected packages and utilizing monitoring tools like Vulert, developers can safeguard their applications against potential threats.
See every vulnerability recorded for mansioda-nona-mug →
FAQ
The mansioda-nona-mug package is an npm package associated with a malicious campaign that aims to manipulate the npm registry.
This vulnerability can lead to the pollution of the npm registry and may compromise the security of your project if you inadvertently use affected packages.
You should remove the mansioda-nona-mug package from your project and monitor for any updates or patches that may address the vulnerability.
Yes, using tools like Vulert can help you monitor your dependencies for vulnerabilities in real-time, allowing you to take action before they affect your project.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application using just your package-lock.json file.