Malicious Code Injection in namae-naua-maiso Package: A Threat to npm Users
Summary
MAL-2025-161814: Malicious code in namae-naua-maiso (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-naua-maiso package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code. However, it has been identified as part of a malicious campaign that targets developers by flooding the npm registry with harmful packages designed to manipulate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in the namae-naua-maiso package stems from its involvement in a malicious campaign that modifies the package.json file to remove private flags and change version numbers. It generates random package names and continuously republishes variants to pollute the npm registry. This behavior can lead to developers unknowingly using compromised packages, which can compromise their applications and lead to security breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall namae-naua-maiso
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-naua-maiso package and any other packages that are part of the tea.xyz token reward campaign. Monitor your package-lock.json file for any unauthorized changes and consider using tools like Vulert to help identify vulnerabilities in your dependencies.
Conclusion
The namae-naua-maiso package poses a significant threat to developers using npm due to its malicious behavior. It is essential to remove this package from your projects and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help ensure the security of your applications.
See every vulnerability recorded for namae-naua-maiso →
FAQ
The namae-naua-maiso package is an npm package that has been identified as part of a malicious campaign targeting developers by flooding the npm registry with harmful packages.
If your application uses the namae-naua-maiso package, it may be at risk of security breaches due to the malicious modifications made to the package.json file and the potential for using compromised code.
You should uninstall the namae-naua-maiso package immediately using 'npm uninstall namae-naua-maiso' and review your other dependencies for similar vulnerabilities.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time, helping you stay informed about potential threats.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.