Malicious Code Injection in adilfaheem Package: A Threat to npm Users
Summary
MAL-2025-170656: Malicious code in adilfaheem (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 adilfaheem package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and distribution of JavaScript applications. However, it has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to significant security concerns for developers and users alike.
Vulnerability Detail
The vulnerability in the adilfaheem package originates from its association with a malicious campaign aimed at inflating developer reputation scores for token rewards. The package contains scripts that automatically modify the package.json file, removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of applications that depend on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall adilfaheem
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 adilfaheem package and any other packages that are part of the malicious campaign. Consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The adilfaheem package poses a significant security risk due to its malicious code that modifies package configurations and repopulates the npm registry with compromised packages. It is essential for developers to take immediate action by removing this package and employing monitoring tools to safeguard their applications.
See every vulnerability recorded for adilfaheem →
FAQ
The adilfaheem package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
The vulnerability can lead to the pollution of the npm registry, potentially introducing malicious code into your application and compromising its security.
You should uninstall the adilfaheem package immediately using the command npm uninstall adilfaheem and check your project for any other compromised packages.
Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities without signing up at the Vulert playground.
Regularly update your dependencies, use trusted packages, and employ tools like Vulert to monitor your projects for vulnerabilities.