Malicious Code Injection in verify-aikun-mi Package
Summary
MAL-2025-170274: Malicious code in verify-aikun-mi (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-aikun-mi package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is implicated in a malicious campaign that aims to inflate developer reputation scores through the automated generation and publication of derivative packages. The malicious behavior includes altering package metadata to facilitate further exploitation.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the verify-aikun-mi package. This payload modifies the package.json file by removing private flags, changing version numbers, and generating random package names. The intent is to continuously republish these variants, polluting the npm registry and potentially leading to security risks for developers who unknowingly use these compromised packages. The malicious code is part of a broader scheme associated with the tea.xyz token reward campaign, which exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall verify-aikun-mi
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, avoid using the verify-aikun-mi package and consider replacing it with a similar, trusted package. Monitor your project's dependencies regularly to ensure no malicious packages are included. You can also use tools like Vulert to check for vulnerabilities in your package-lock.json file.
Conclusion
The verify-aikun-mi package poses a significant security risk due to its malicious code designed to exploit npm's publishing system. It is essential to remove this package from your project and monitor for any similar vulnerabilities using tools like Vulert to ensure the integrity of your software.
See every vulnerability recorded for verify-aikun-mi →
FAQ
The verify-aikun-mi 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, potentially leading to the publication of compromised packages and exposing your project to security risks.
You should uninstall the verify-aikun-mi package immediately and check for any other affected packages in your project.
You can use Vulert to monitor your project's dependencies in real-time by analyzing your package-lock.json file for known vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.