Malicious Code Injection in abdalqadir Package: npm Vulnerability Overview
Summary
MAL-2025-170621: Malicious code in abdalqadir (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 abdalqadir package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards through automated publishing scripts. However, it has been identified as containing malicious code that can compromise the integrity of the npm registry and inflate developer reputation scores through deceptive practices.
Vulnerability Detail
The vulnerability in the abdalqadir package originates from its inclusion in a campaign that floods the npm registry with derivative packages. The malicious code 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 variants, polluting the npm registry and potentially affecting other developers relying on the integrity of the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall abdalqadir
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 remove the abdalqadir package from your project by executing the command: 'npm uninstall abdalqadir'. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The abdalqadir package contains a significant vulnerability due to malicious code that can compromise the npm registry. It is essential to take immediate action by updating or uninstalling the package to protect your project and the broader ecosystem.
See every vulnerability recorded for abdalqadir →
FAQ
The abdalqadir package is an npm package associated with the tea.xyz token reward campaign, designed to automate the publishing of derivative packages.
The malicious code modifies your package.json file, removes private flags, and can lead to the pollution of the npm registry, affecting the integrity of your project.
If you have installed the abdalqadir package, it is crucial to uninstall it immediately and monitor for any updates or patches that may address the vulnerability.
Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without any signup.
Long-term implications include potential damage to your project's reputation, security risks from compromised packages, and the possibility of affecting other developers relying on the npm registry.