Malicious Code Injection in abdulkarim Package - npm Vulnerability
Summary
MAL-2025-170630: Malicious code in abdulkarim (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 abdulkarim package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publishing of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been compromised to include malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in the abdulkarim package originates from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the pollution of the npm registry and can potentially harm developers by inflating reputation scores through deceptive practices.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall abdulkarim
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 abdulkarim package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file for any unauthorized changes.
Conclusion
The abdulkarim package has been identified as containing malicious code that can compromise the integrity of projects using it. It is crucial to remove this package and monitor for updates to ensure the security of your applications.
See every vulnerability recorded for abdulkarim →
FAQ
The abdulkarim package is an npm package that is part of a token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the pollution of the npm registry and may affect your project's integrity by introducing malicious code.
You should remove the abdulkarim package from your project immediately and monitor for any updates or patches.
Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay informed about known vulnerabilities in the packages you use.