Malicious Code Injection in azhariftikhar Package: npm Vulnerability Overview
Summary
MAL-2025-170944: Malicious code in azhariftikhar (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 azhariftikhar package is part of the npm ecosystem, which is widely used for managing JavaScript packages. This package has been identified as part of a malicious campaign that aims to exploit developer reputation systems through automated scripts. The vulnerability stems from its involvement in the tea.xyz token reward campaign, which has led to the proliferation of derivative packages with randomized names, ultimately affecting the integrity of the npm registry.
Vulnerability Detail
The azhariftikhar package contains malicious code that modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior is designed to inflate developer reputation scores for token rewards, leading to pollution of the npm registry. The origin of this vulnerability is linked to a broader campaign that utilizes autopublish scripts to continuously republish variants of the package, making it difficult to track and mitigate the issue.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall azhariftikhar
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 prevent the installation of the azhariftikhar package by using npm's package-lock.json to monitor dependencies. Additionally, consider using the following command to uninstall the package: npm uninstall azhariftikhar.
Conclusion
The azhariftikhar package poses a significant risk due to its malicious code that alters package metadata and contributes to the pollution of the npm registry. It is essential for developers to be vigilant and remove such packages from their projects to maintain the integrity of their applications.
See every vulnerability recorded for azhariftikhar →
FAQ
The azhariftikhar package is an npm package that has been identified as part of a malicious campaign to exploit developer reputation systems.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project's dependencies.
You should immediately uninstall the azhariftikhar package and monitor your project for any other affected dependencies.
Yes, you can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.