Malicious Code Injection in verify-ayai-gal Package - npm Vulnerability
Summary
MAL-2025-170350: Malicious code in verify-ayai-gal (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 verify-ayai-gal package is part of the npm ecosystem, which is widely used for JavaScript development. This package, like many others, is intended to provide specific functionalities to developers. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages designed to manipulate developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability in the verify-ayai-gal package stems from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the integrity of applications relying on these packages. The malicious payload is designed to inflate developer reputation scores for token rewards, posing significant risks to the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall verify-ayai-gal
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 verify-ayai-gal package and replace it with a trusted alternative. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The verify-ayai-gal package has been identified as a malicious entity within the npm ecosystem, posing significant risks to developers and their applications. It is crucial to uninstall this package and monitor your dependencies for vulnerabilities to maintain the security of your projects.
See every vulnerability recorded for verify-ayai-gal →
FAQ
The verify-ayai-gal package is an npm package that has been identified as part of a malicious campaign to manipulate developer reputation scores.
This vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You should uninstall the verify-ayai-gal package immediately and check your application for any other affected dependencies.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time.
There is no patch for the verify-ayai-gal package as it is recommended to uninstall it and replace it with a trusted alternative.