Malicious Code Injection in verify-ain-aiusi Package
Summary
MAL-2025-170294: Malicious code in verify-ain-aiusi (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-ain-aiusi package is part of the npm ecosystem, primarily used for various JavaScript applications. It has been identified as part of a larger campaign that aims to manipulate the npm registry by flooding it with derivative packages. This package, like others in the campaign, is designed to inflate developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability in the verify-ain-aiusi package stems from its malicious code, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of these variants, polluting the npm registry and potentially compromising the integrity of other packages. The origin of this issue is linked to a campaign that exploits npm's publishing mechanisms for token rewards.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall verify-ain-aiusi
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 avoid using the verify-ain-aiusi package and replace it with an alternative package that provides similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The verify-ain-aiusi package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remain vigilant, regularly update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for verify-ain-aiusi →
FAQ
The verify-ain-aiusi 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 pollution of the npm registry and may compromise the integrity of your application by introducing untrusted code.
If you have installed the verify-ain-aiusi package, you should uninstall it immediately using 'npm uninstall verify-ain-aiusi' and check your project for any other affected packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time, alerting you to any issues.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.