Malicious Code Injection in aakifamin Package: npm Vulnerability Overview
Summary
MAL-2025-170608: Malicious code in aakifamin (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 aakifamin package is part of the npm ecosystem, typically used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that aims to inflate developer reputation scores through automated package publishing. This package is particularly vulnerable due to its design, which allows for the modification of critical files and the generation of numerous derivative packages.
Vulnerability Detail
The vulnerability in the aakifamin package stems from its association with the tea.xyz token reward campaign. The malicious code embedded within this package 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, which pollutes the npm registry and can compromise the integrity of projects relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall aakifamin
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 manually remove the aakifamin package from your project by running the following command: npm uninstall aakifamin. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The aakifamin package poses a significant risk due to its malicious code that alters critical project files and floods the npm registry. It is crucial to remove this package from your projects and monitor for any updates or patches. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for aakifamin →
FAQ
The aakifamin package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated publishing.
The vulnerability can lead to the modification of your project's package.json file, potentially compromising the integrity and security of your application.
You should uninstall the aakifamin package immediately and monitor your project for any unusual behavior.
Yes, you can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.