Malicious Code Injection in verify-ain-aius Package
Summary
MAL-2025-170286: Malicious code in verify-ain-aius (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-aius package is part of the npm ecosystem, primarily used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with packages that often contain malicious scripts. These packages are designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names.
Vulnerability Detail
The vulnerability in the verify-ain-aius package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The origin of this vulnerability is linked to a broader campaign aimed at exploiting npm's package management system for token rewards, posing significant risks to developers and users by compromising the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall verify-ain-aius
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-aius package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your npm packages using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The verify-ain-aius package has been identified as containing malicious code that can compromise the integrity of your npm projects. It is essential to remove this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help you stay informed about potential threats in your open-source software.
See every vulnerability recorded for verify-ain-aius →
FAQ
The verify-ain-aius package is an npm package that has been linked to malicious activities aimed at manipulating developer reputation scores through automated publishing.
You can check if your project is affected by using tools like Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can also use the Vulert playground to analyze your package-lock.json file.
The risks include the potential for malicious code execution, pollution of the npm registry, and compromised integrity of your project's dependencies, which can lead to security breaches.
To prevent similar vulnerabilities, regularly audit your dependencies, use trusted packages, and stay updated on security advisories related to the packages you use.
If you have already used the verify-ain-aius package, it is crucial to uninstall it immediately and review your project for any potential impacts caused by the malicious code.