Malicious Code Injection in nadia-moci6-miaww Package - npm Vulnerability
Summary
MAL-2025-88613: Malicious code in nadia-moci6-miaww (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 nadia-moci6-miaww 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 npm's publishing mechanisms. It is designed to generate and publish numerous derivative packages with randomized names, which can lead to reputation inflation for malicious actors within the npm registry.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the nadia-moci6-miaww package, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior allows the package to continuously republish variants, polluting the npm registry and potentially compromising the integrity of other packages. The implications of this vulnerability include the risk of dependency confusion, where legitimate packages may be overshadowed by these malicious variants, leading to security risks for developers and users alike.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nadia-moci6-miaww
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 workaround, you can monitor your project for any unauthorized changes to the package.json file and ensure that no malicious packages are installed. Consider using tools like Vulert to monitor your package-lock.json 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 nadia-moci6-miaww package poses a significant security risk due to its malicious behavior of modifying package files and republishing variants. It is crucial for developers to remove this package, monitor their dependencies, and utilize tools like Vulert to safeguard their applications against such vulnerabilities.
See every vulnerability recorded for nadia-moci6-miaww →
FAQ
The nadia-moci6-miaww package is an npm package that has been identified as part of a malicious campaign aimed at exploiting npm's publishing system.
This vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You should uninstall the nadia-moci6-miaww package immediately and monitor your project for any unauthorized changes.
Yes, you can prevent such vulnerabilities by regularly updating your packages, using trusted sources, and employing tools like Vulert for real-time monitoring.
Vulert is a tool that monitors your package-lock.json for open-source vulnerabilities in real-time, alerting you to any issues without requiring code access or installation.