Malicious Code Injection in ajmalzaid Package: npm Vulnerability Overview
Summary
MAL-2025-170758: Malicious code in ajmalzaid (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 ajmalzaid package is part of the npm ecosystem, primarily used for JavaScript development. It is often utilized in various applications for its functionalities related to package management. However, this package has been identified as part of a malicious campaign that floods the npm registry with harmful scripts designed to manipulate package metadata and inflate developer reputation scores.
Vulnerability Detail
The vulnerability in the ajmalzaid package originates from its association with the tea.xyz token reward campaign. This campaign deploys malicious scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. The scripts continuously republish these variants, polluting the npm registry and potentially compromising the integrity of applications that depend on these packages. The ramifications include unauthorized access to sensitive data and the risk of executing malicious code within affected applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ajmalzaid
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 ajmalzaid package and look for alternative packages that provide similar functionalities without the associated risks. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The ajmalzaid package has been identified as a malicious entity within the npm ecosystem, posing significant risks to applications that utilize it. It is essential to remove this package and monitor your dependencies for vulnerabilities to maintain the security and integrity of your software.
See every vulnerability recorded for ajmalzaid →
FAQ
The ajmalzaid package is an npm package used in JavaScript development, but it has been identified as part of a malicious campaign.
The vulnerability can lead to unauthorized modifications of your package metadata and potentially execute malicious code, compromising your application's security.
You should uninstall the ajmalzaid package immediately using the command 'npm uninstall ajmalzaid' and review your dependencies for any other vulnerabilities.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.