Malicious Code Injection in verify-aya-amili Package
Summary
MAL-2025-170325: Malicious code in verify-aya-amili (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-aya-amili package is part of the npm ecosystem, primarily used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that aims to inflate developer reputation scores through the creation of derivative packages. This package, like others in the campaign, is designed to automatically generate and publish variants with altered metadata, leading to potential misuse and pollution of the npm registry.
Vulnerability Detail
The vulnerability in the verify-aya-amili package stems from its association with a malicious campaign that modifies the package.json file to remove private flags and changes version numbers. It generates random package names and continuously republishes these variants, which can lead to a polluted npm registry and compromise the integrity of the ecosystem. The malicious code is part of a broader scheme to exploit npm's publishing capabilities for token reward incentives, posing risks to developers and users relying on the npm registry for secure packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall verify-aya-amili
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 avoid using the verify-aya-amili package and any other packages associated with the malicious campaign. Regularly audit your dependencies using tools like npm audit to identify and mitigate risks.
Conclusion
The verify-aya-amili package poses significant risks due to its malicious code designed to exploit npm's publishing capabilities. It is essential to remove this package from your projects and monitor your dependencies for vulnerabilities to maintain a secure development environment.
See every vulnerability recorded for verify-aya-amili →
FAQ
The verify-aya-amili package is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to a polluted npm registry and potential security risks.
You should uninstall the verify-aya-amili package immediately using the command npm uninstall verify-aya-amili.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can check your application against known vulnerabilities using the Vulert playground.
Regularly audit your dependencies, keep your packages updated, and utilize tools like Vulert to monitor for vulnerabilities in real-time.