Malicious Code Injection in verify-ayali-ga: A Threat to npm Packages
Summary
MAL-2025-170358: Malicious code in verify-ayali-ga (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-ayali-ga' 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 and distribution of JavaScript applications. However, it has been identified as part of a malicious campaign that exploits npm's publishing capabilities to inflate developer reputation scores through the automatic generation of derivative packages.
Vulnerability Detail
The vulnerability in 'verify-ayali-ga' originates from its association with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that modify the package.json file to remove private flags, alter version numbers, and generate random names, ultimately leading to the pollution of the npm registry. This poses significant risks, including the potential for developers to unknowingly install compromised packages, which can lead to security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall verify-ayali-ga
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 measure, avoid using the 'verify-ayali-ga' package and consider using alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your project's dependencies to identify and remove any potentially malicious packages.
Conclusion
The 'verify-ayali-ga' package poses a significant threat due to its malicious code that manipulates the npm registry. It is crucial for developers to be vigilant and remove any instances of this package from their projects. Utilizing tools like Vulert can aid in monitoring for such vulnerabilities and maintaining the security of your applications.
See every vulnerability recorded for verify-ayali-ga →
FAQ
The 'verify-ayali-ga' package is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
This vulnerability can lead to the installation of compromised packages, which may introduce security risks and affect the integrity of your project.
You should uninstall the package immediately using 'npm uninstall verify-ayali-ga' and check for any dependencies that may rely on it.
Yes, tools like Vulert can help monitor and alert you in real-time for open-source vulnerabilities in your software without requiring access to the code.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.