Malicious Code Injection in verify-ayali-aisai Package
Summary
MAL-2025-170357: Malicious code in verify-ayali-aisai (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-aisai 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 harmful packages. This package is associated with the tea.xyz token reward scheme, which aims to inflate developer reputation scores through automated scripts.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the verify-ayali-aisai package. This code is designed to modify the package.json file by removing private flags, altering version numbers, and generating random package names. The malicious payload continuously republishes these variants, leading to pollution of the npm registry and potential security risks for developers who unknowingly use these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall verify-ayali-aisai
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, avoid using the verify-ayali-aisai package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The verify-ayali-aisai package poses significant security risks due to its malicious code. It is essential to remove this package from your projects and monitor for any updates or patches. Utilizing tools like Vulert can help keep your applications secure by alerting you to vulnerabilities in real-time.
See every vulnerability recorded for verify-ayali-aisai →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
You can use Vulert, which monitors your package-lock.json for vulnerabilities. Visit Vulert Scanner to check if your application is affected without any signup.
Using this package can lead to security vulnerabilities, including unauthorized modifications to your project and exposure to malicious code.
It is recommended to check for vulnerabilities regularly, especially after adding new packages or updating existing ones.
Immediately uninstall the package and consider using alternatives. Regularly audit your dependencies for any vulnerabilities.