Malicious Code Injection in man-nonatai-amutgiag Package - npm Vulnerability
Summary
MAL-2025-159284: Malicious code in man-nonatai-amutgiag (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 man-nonatai-amutgiag package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores. However, it has been compromised to include malicious scripts that alter package metadata and republish variants, posing a significant risk to developers and the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the man-nonatai-amutgiag package. This code modifies the package.json file by removing private flags, changing version numbers, and generating random package names. The malicious payload continuously republishes these variants, leading to pollution of the npm registry and potential exploitation of developers who unknowingly use these compromised packages. This can result in reputational damage and security risks for applications relying on affected packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall man-nonatai-amutgiag
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 man-nonatai-amutgiag package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file for any unauthorized changes.
Conclusion
The man-nonatai-amutgiag package has been identified as a source of malicious code that can compromise the integrity of npm projects. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the security of their applications.
See every vulnerability recorded for man-nonatai-amutgiag →
FAQ
The man-nonatai-amutgiag package is an npm package involved in the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to unauthorized modifications of your package metadata and the introduction of malicious code, which can compromise your project's security.
You should uninstall the man-nonatai-amutgiag package immediately and check your project for any unauthorized changes.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground.
Regularly update your dependencies, monitor for vulnerabilities using tools like Vulert, and review your package-lock.json file for any unauthorized changes.