Malicious Code Injection in verify-aikun-miaaku: A Threat to npm Packages
Summary
MAL-2025-170275: Malicious code in verify-aikun-miaaku (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 package 'verify-aikun-miaaku' is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit npm's publishing system. The malicious nature of this package is tied to its involvement in generating and publishing derivative packages with the intent to inflate developer reputation scores for token rewards in the tea.xyz protocol.
Vulnerability Detail
The vulnerability originates from the package's design, which includes scripts that automatically modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the continuous republishing of variants that pollute the npm registry, potentially compromising the integrity of the ecosystem and affecting developers who rely on legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall verify-aikun-miaaku
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 affected package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The 'verify-aikun-miaaku' package poses a significant risk due to its malicious code that compromises the npm ecosystem. It is essential for developers to remove this package from their projects and utilize monitoring tools like Vulert to stay informed about potential vulnerabilities.
See every vulnerability recorded for verify-aikun-miaaku →
FAQ
The package contains malicious code that modifies package.json files and republish variants to inflate developer reputation scores.
You can check your package-lock.json file for the presence of 'verify-aikun-miaaku' or run 'npm ls verify-aikun-miaaku' in your terminal.
You should uninstall the package immediately using 'npm uninstall verify-aikun-miaaku' and check for any dependencies that may be affected.
Yes, tools like Vulert can help monitor your project for open-source vulnerabilities in real-time using just your package-lock.json.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.