Malicious Code Injection in inagi-vma-nuagbi Package - npm Vulnerability
Summary
MAL-2025-156323: Malicious code in inagi-vma-nuagbi (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 inagi-vma-nuagbi package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is linked to the tea.xyz token reward campaign, which has been associated with malicious activities aimed at inflating developer reputation scores through the automatic generation and publication of derivative packages. The package's functionality has been compromised, making it a vector for malicious code.
Vulnerability Detail
The vulnerability in the inagi-vma-nuagbi package arises from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, which are often themed around Indonesian culture. This behavior is designed to pollute the npm registry by continuously republishing variants, potentially leading to security risks for developers and users who inadvertently install these compromised packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall inagi-vma-nuagbi
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, avoid using the inagi-vma-nuagbi package and consider using alternative packages that provide similar functionality without the associated risks. Regularly audit your package dependencies using tools like Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without needing to sign up.
Conclusion
The inagi-vma-nuagbi package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for inagi-vma-nuagbi →
FAQ
The inagi-vma-nuagbi package is an npm package that has been linked to malicious activities aimed at inflating developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the installation of malicious code that modifies your package.json file, potentially compromising your application's integrity and security.
You should uninstall the inagi-vma-nuagbi package immediately using the command npm uninstall inagi-vma-nuagbi and check for any dependencies that may be affected.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities 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 needing to sign up.