Malicious Code Detected in component-adhese: A Critical Security Alert
Summary
MAL-2025-17454: Malicious code in component-adhese (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 package 'component-adhese' is a JavaScript library commonly used in web development for managing advertisements. It provides functionalities that allow developers to integrate ad services seamlessly into their applications. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications utilizing it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the 'component-adhese' package. This code can potentially compromise the security of applications by allowing unauthorized access, data breaches, or even the execution of harmful actions on the user's system. The malicious code was introduced in version 0 and affects all subsequent versions, making it imperative for users to take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall component-adhese
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, consider removing the 'component-adhese' package from your project until a secure version is available. You can do this by running the following command: npm uninstall component-adhese. This will prevent any potential exploitation of the malicious code while you seek a safer alternative.
Conclusion
The discovery of malicious code in the 'component-adhese' package highlights the importance of vigilance in managing open-source dependencies. Users are urged to take immediate action by updating or removing the package to safeguard their applications from potential threats.
See every vulnerability recorded for component-adhese →
FAQ
The malicious code can lead to unauthorized access and potential data breaches in applications using the package.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
Currently, there is no specific patched version available. It is recommended to remove the package or update to a secure alternative.
If immediate removal is not possible, monitor your application closely for any unusual behavior and consider implementing additional security measures.
Vulert uses the package-lock.json file to monitor and alert in real-time for open-source vulnerabilities in your software, ensuring you stay informed.