Malicious Code Injection in man-nonatai-ag Package - npm Vulnerability
Summary
MAL-2025-159280: Malicious code in man-nonatai-ag (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-ag 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 for token rewards. However, it has been identified as containing malicious code that compromises package integrity.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the man-nonatai-ag package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which can lead to the pollution of the npm registry. The malicious scripts are designed to continuously republish variants, thereby increasing the risk of dependency confusion and potential exploitation by attackers.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall man-nonatai-ag
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-ag package altogether. If it is already included in your project, remove it by running: npm uninstall man-nonatai-ag. Additionally, regularly audit your dependencies using npm audit to identify any other potential vulnerabilities.
Conclusion
The man-nonatai-ag package has been identified as containing malicious code that poses a significant risk to npm users. It is essential to remove this package from your projects and monitor your dependencies for any vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for man-nonatai-ag →
FAQ
The man-nonatai-ag package is an npm package associated with the tea.xyz token reward campaign, designed to automate the publication of derivative packages.
The vulnerability can lead to the modification of your package.json file and the introduction of malicious packages, which may compromise your project's integrity and security.
If you have installed the man-nonatai-ag package, it is crucial to uninstall it immediately and monitor your project for any unusual behavior.
You can use tools like Vulert, which monitors and alerts you in real-time for open-source vulnerabilities in your software using just the package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.