Malicious Code Injection in verify-ayali-gan Package
Summary
MAL-2025-170362: Malicious code in verify-ayali-gan (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-gan package is part of the npm ecosystem, typically used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package is designed to manipulate developer reputation scores through automated publishing scripts, which can lead to significant security risks.
Vulnerability Detail
The vulnerability originates from the package being part of a token reward campaign that employs malicious scripts to modify the package.json file. These scripts remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also compromises the integrity of the affected packages, potentially allowing for further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall verify-ayali-gan
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, you can remove the verify-ayali-gan package from your project to prevent any potential exploitation. Use the following command: 'npm uninstall verify-ayali-gan'. Additionally, consider using Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The verify-ayali-gan package poses a significant security risk due to its malicious code injection capabilities. It is essential to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities in your project.
See every vulnerability recorded for verify-ayali-gan →
FAQ
The verify-ayali-gan package is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
The vulnerability can lead to the modification of your package.json file, potentially allowing malicious code to be executed within your application.
You can use the Vulert playground to check if your application is affected by this vulnerability without needing to sign up.
If you are using the verify-ayali-gan package, you should uninstall it immediately and monitor your project for any further vulnerabilities.
Vulert is a tool that monitors your package-lock.json for open-source vulnerabilities in real-time, helping you to stay informed about potential security risks.