Malicious Code Injection in verify-ayali-gaka Package
Summary
MAL-2025-170360: Malicious code in verify-ayali-gaka (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-gaka package is part of the npm ecosystem, often utilized in JavaScript applications for various functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages. This package is designed to manipulate developer reputation scores through automated publishing of derivative packages, which can lead to significant security risks for applications that depend on it.
Vulnerability Detail
The vulnerability in the verify-ayali-gaka package stems from its malicious code that modifies the package.json file to remove private flags and changes version numbers. It generates random package names and continuously republishes variants, polluting the npm registry. This behavior can lead to unintended consequences, such as the introduction of insecure code into applications and the potential for exploitation by malicious actors.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall verify-ayali-gaka
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 prevent the installation of the verify-ayali-gaka package by using npm's package-lock.json file to lock your dependencies. Additionally, consider using npm audit to identify and address vulnerabilities in your dependencies.
Conclusion
The verify-ayali-gaka package poses a significant security risk due to its malicious code that alters package metadata and repopulates the npm registry with harmful variants. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to protect their applications.
See every vulnerability recorded for verify-ayali-gaka →
FAQ
The verify-ayali-gaka package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated publishing.
The vulnerability can lead to the introduction of insecure code, potentially allowing malicious actors to exploit your application.
You should remove the verify-ayali-gaka package from your project and check for any other affected packages in your dependencies.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can also check your application against known vulnerabilities using the Vulert playground.
Regularly audit your dependencies using tools like npm audit and consider using automated monitoring services like Vulert to stay informed about vulnerabilities.