Malicious Code Injection in namae-nadua-maio Package
Summary
MAL-2025-161788: Malicious code in namae-nadua-maio (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 namae-nadua-maio package is part of the npm ecosystem, typically utilized for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package, like others in the campaign, is designed to inflate developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability in the namae-nadua-maio package originates from its involvement in a token reward campaign that exploits npm's publishing system. The malicious code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This results in a polluted npm registry and can lead to security risks for developers who unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall namae-nadua-maio
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 namae-nadua-maio package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities.
Conclusion
The namae-nadua-maio package poses a significant risk due to its malicious code designed to manipulate npm's publishing system. It is essential to remove this package from your projects and monitor for vulnerabilities using tools like Vulert to ensure the security of your applications.
See every vulnerability recorded for namae-nadua-maio →
FAQ
The namae-nadua-maio package is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and a polluted npm registry.
You should uninstall the namae-nadua-maio package immediately and check for any other affected packages in your project.
You can use Vulert, which monitors your package-lock.json file for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.